TSS has excerpted a sample chapter from the 'Building Portals with the Java Portlet API' book, by Jeff Linwood and David Minter. The chapter discusses how a portlet interacts with a portal, from initialization to removal, provides examples that walk you through the stages of the portlet life cycle and illustrate the issues of multithreaded portlet applications.
Read The Portlet LifeCycle
-
Building Portals with the Java Portlet API - Portlet Life Cycle (25 messages)
- Posted by: Nate Borg
- Posted on: August 06 2004 13:00 EDT
Threaded Messages (25)
- Building Portals with the Java Portlet API - Portlet Life Cycle by Benjamin Mestrallet on August 06 2004 19:17 EDT
- Corrupt PDF by Kito Mann on August 06 2004 20:30 EDT
- PDF corrupted by Bin Sun on August 06 2004 21:25 EDT
- Building Portals with the Java Portlet API - Portlet Life Cycle by sub qst on September 15 2004 17:38 EDT
- Building Portals with the Java Portlet API - Portlet Life Cycle by Rickard Oberg on August 07 2004 03:47 EDT
- Document not found by Eduardo Estefano Neto on August 07 2004 05:47 EDT
- Found :) by Eduardo Estefano Neto on August 07 2004 05:49 EDT
-
Why is TSS always having a problem serving chapters by Mohd Amin on August 09 2004 01:59 EDT
- Why is TSS always having a problem serving chapters by Matthias Ernst on August 09 2004 04:04 EDT
-
Why is TSS always having a problem serving chapters by Mohd Amin on August 09 2004 01:59 EDT
- Found :) by Eduardo Estefano Neto on August 07 2004 05:49 EDT
- possbile bug by Joerg Schnur on August 09 2004 09:27 EDT
- possbile bug by Dave Minter on August 09 2004 09:54 EDT
-
possbile bug by Benjamin Mestrallet on August 09 2004 10:18 EDT
-
possbile bug by Dave Minter on August 09 2004 10:24 EDT
-
possbile bug by Benjamin Mestrallet on August 09 2004 10:52 EDT
- possbile bug by Dave Minter on August 09 2004 11:13 EDT
-
possbile bug by Benjamin Mestrallet on August 09 2004 10:52 EDT
-
PHP Portalbook.com by Jeff Linwood on August 09 2004 10:42 EDT
- PHP Portalbook.com by Benjamin Mestrallet on August 09 2004 10:57 EDT
-
possbile bug by Dave Minter on August 09 2004 10:24 EDT
-
Portalbook.com gone? by Mike Monette on January 13 2005 11:30 EST
- Portalbook.com gone? by Igor Stamatovski on February 12 2005 09:46 EST
-
possbile bug by Benjamin Mestrallet on August 09 2004 10:18 EDT
- possbile bug by Dave Minter on August 09 2004 09:54 EDT
- Liferary Hosting and Message Boards by Brian Chan on August 09 2004 11:50 EDT
- XDoclet bug by Craig Walls on August 10 2004 10:10 EDT
- Re: XDoclet bug by Jeff Linwood on August 10 2004 22:11 EDT
- only six chapters are available so .... by sajjad syed on October 29 2004 02:15 EDT
-
Building Portals with the Java Portlet API - Portlet Life Cycle[ Go to top ]
- Posted by: Benjamin Mestrallet
- Posted on: August 06 2004 19:17 EDT
- in response to Nate Borg
I downloaded the zip file but it seems the PDF is corrupted.
Is it ok for you? -
Corrupt PDF[ Go to top ]
- Posted by: Kito Mann
- Posted on: August 06 2004 20:30 EDT
- in response to Benjamin Mestrallet
I had the same problem just viewing the PDF on-line.
Kito D. Mann
Author, JSF in Action
http://www.JSFCentral.com - JSF FAQ, news, and info -
PDF Fixed[ Go to top ]
- Posted by: Nate Borg
- Posted on: August 07 2004 01:18 EDT
- in response to Kito Mann
Hey guys,
Sorry about that. The PDF originally required Adobe 6 to open but it's been reformatted to open in Adobe 4 and up.
Please let us know if you're still having problems opening it.
Regards,
Nitin -
PDF corrupted[ Go to top ]
- Posted by: Bin Sun
- Posted on: August 06 2004 21:25 EDT
- in response to Benjamin Mestrallet
The downloaded zip file can be extracted, but the extracted PDF file is broken. -
re[ Go to top ]
- Posted by: Alan Chen
- Posted on: April 14 2008 04:37 EDT
- in response to Bin Sun
Hi, Why not try Advanced PDF Repair at http://www.datanumen.com/apdfr/ ? It recovers several important PDF files for me and is really helpful! Hope this will help. Alan -
Building Portals with the Java Portlet API - Portlet Life Cycle[ Go to top ]
- Posted by: sub qst
- Posted on: September 15 2004 17:38 EDT
- in response to Benjamin Mestrallet
Hi All,
Even i wasn't able to download the complete document. The pdf in the zip file contained only six chapters. If anyone of you were able to successfully download the entire document then please share it with me at vs_ashvin at yahoo dot com.
Ashvin -
Building Portals with the Java Portlet API - Portlet Life Cycle[ Go to top ]
- Posted by: Rickard Oberg
- Posted on: August 07 2004 03:47 EDT
- in response to Nate Borg
The current Portlet API is a good start, but one of the problems of the current incarnation is actually the lack of lifecycle management for instances of portlets. The current lifecycle only manages the lifecycle of the portlet implementation, whereas I'd really like to see stuff like create/clone/remove added as well, in order to properly handle how physical instances of portlets are handled.
Pretty much all of our portlets have references to persistent objects, and when a portlet instance is cloned it needs to know this in order to be able to clone the persistent objects and update the references to these objects. Currently that is impossible, but since we wrote the portlet container we added support for it ourselves. -
Document not found[ Go to top ]
- Posted by: Eduardo Estefano Neto
- Posted on: August 07 2004 05:47 EDT
- in response to Nate Borg
Still can't access the document. -
Found :)[ Go to top ]
- Posted by: Eduardo Estefano Neto
- Posted on: August 07 2004 05:49 EDT
- in response to Eduardo Estefano Neto
If you login first and then click on the document link it works. -
Why is TSS always having a problem serving chapters[ Go to top ]
- Posted by: Mohd Amin
- Posted on: August 09 2004 01:59 EDT
- in response to Eduardo Estefano Neto
Everytime a sample chapter or a book is put online, people can get it. I wonder why? Is it the people? or is it the readers?
Mohd Amin -
Why is TSS always having a problem serving chapters[ Go to top ]
- Posted by: Matthias Ernst
- Posted on: August 09 2004 04:04 EDT
- in response to Mohd Amin
Well, that seems to be a bug in their software. When you click on the link and get redirected to the login and then get redirected to the chapter, something goes wrong.
And the comment count is always one too high. A new article has "1 Comments". Who cares anyway... -
possbile bug[ Go to top ]
- Posted by: Joerg Schnur
- Posted on: August 09 2004 09:27 EDT
- in response to Nate Borg
Sorry to post ist here, but I did not find any place to comment the pdf. On page 89 you mention "The versioning information belongs in the WEB-INF\MANIFEST.MF file in the WAR archive." But I think it must be "... in the META-INF\..."
I'm interested reading the rest of the book, but amazon tells me it's not published yet :-(
Best regards,
Joerg -
possbile bug[ Go to top ]
- Posted by: Dave Minter
- Posted on: August 09 2004 09:54 EDT
- in response to Joerg Schnur
Yes, that's a typo; we'll make sure that gets listed in the errata.
I'm expecting to receive my first printed copy today (Jeff had his on Friday), and I believe the publication date is 23rd August, so you shouldn't have much of a wait if you were to order now.
Alternatively, we've created a site to support the book at http://portalbook.com/ and we'll certainly post a notice there as soon as it's published. That site's a little sparse at the moment, but if you have any questions, wishlists, or other feedback, we'll be delighted to start expanding the content. -
possbile bug[ Go to top ]
- Posted by: Benjamin Mestrallet
- Posted on: August 09 2004 10:18 EDT
- in response to Dave Minter
PHP site for promoting a Java portlet API book while many open source portals are available.... must be a joke !!!! :) -
possbile bug[ Go to top ]
- Posted by: Dave Minter
- Posted on: August 09 2004 10:24 EDT
- in response to Benjamin Mestrallet
Why's that ?
JSR168 is a new standard. Portlets are a fairly new technology. There are quite a few open source portals, but a smaller number that fully support JSR 168 right now. The only forum software that I know of which is available as a portlet is the one we create as an example in the book, and that's really not ready for primetime yet, although we're working on that.
Whereas PostNuke is here right now, and provides the specific functions that we need to promote and support the book.
Portlets are more versatile, and we obviously believe they have a future. But they are not yet the right software for us to build this site. I don't see any inconsistency here. -
possbile bug[ Go to top ]
- Posted by: Benjamin Mestrallet
- Posted on: August 09 2004 10:52 EDT
- in response to Dave Minter
I disagree :)
JSR 168 were released in november 2003 with first compliance announcement made by Sun and eXo platform in december 2003....8 months ago which is long period in our industry.
The first portlet book was then released on february 2004 (6 months ago :) )and we know many projects using open source portals to build web sites exactly the way you use Postnuke.
The number of certified Open Source portlets is big too with forum and wiki portlets bundled in each.
Of course you can use the portal you want but better eat your own dog food!
Benjamin -
possbile bug[ Go to top ]
- Posted by: Dave Minter
- Posted on: August 09 2004 11:13 EDT
- in response to Benjamin Mestrallet
I think we documented someone else's dogfood ;-)
Which fully featured JSR168 compliant forum portlet(s) would you recommend ? I've evidently missed a trick here - if you can suggest one or more to take for a test drive, I'll give them a whirl and a write up.
Dave. -
PHP Portalbook.com[ Go to top ]
- Posted by: Jeff Linwood
- Posted on: August 09 2004 10:42 EDT
- in response to Benjamin Mestrallet
Thanks for noticing :)
We run PostNuke because we're using a basic PHP/MySQL web hosting package, and portalbook.com is lumped in with a few other domains (like my mozillatips.com).
It would be nice to host portalbook.com on my own computer, but I like not having to worry about administration. -
PHP Portalbook.com[ Go to top ]
- Posted by: Benjamin Mestrallet
- Posted on: August 09 2004 10:57 EDT
- in response to Jeff Linwood
Jeff,
This one is a good explanation :)
That's true that java hosting is not that simple and portal hosting will even be worse as each portlet is deployed as a single war.
Hope hosting services will come with a solution soon, there is a real market. -
Portalbook.com gone?[ Go to top ]
- Posted by: Mike Monette
- Posted on: January 13 2005 11:30 EST
- in response to Dave Minter
I've been unable to reach the site. Has it moved, or is it no longer available? -
Portalbook.com gone?[ Go to top ]
- Posted by: Igor Stamatovski
- Posted on: February 12 2005 09:46 EST
- in response to Mike Monette
I just got mz book, tried to access portalbook.com, but it's down, why?
Anyway the reason for me to access portalbook.com is that I have problems with pluto rc1, and pluto rc2 and the examples from the book, not to mention that i have a proble with the example from chapter 2 FirstPortlet.
Dave? Jeff?
Where can I acces a forum to ask about these problems.. -
Liferary Hosting and Message Boards[ Go to top ]
- Posted by: Brian Chan
- Posted on: August 09 2004 11:50 EDT
- in response to Nate Borg
Liferay, another J2ee open source portal that is JSR-168 compliant, offers built in message boards, email, calendar, wiki, and other group ware portlets.
Liferay also provides a built in portal hosting solution that is available right now with over 60 portlets.
You can demo it at http://demo.liferay.net
and compare it to our other running instances, all sharing the same wars, and ejbs, at
http://my.3sixteen.com (shopping site)
http://www.gatewayfriends.org (chuch site)
http://my.ccuc.net (another church site)
An overview of the Liferay architecture is available at
http://www.liferay.com/documentation/architecture_overview.jsp#vi
We've also been hosting other portals for over 4 years now. -
XDoclet bug[ Go to top ]
- Posted by: Craig Walls
- Posted on: August 10 2004 10:10 EDT
- in response to Nate Borg
I was just now looking at this chapter and noticed the XDoclet bug mentioned. Good catch! (BTW, thanks for mentioning my name!).
I've been somewhat busy for the last few months and just now noticed the issue in XDoclet's JIRA. I can't guarantee when an XDoclet release will include this, but I'll certainly fix it when I get home tonight. -
Re: XDoclet bug[ Go to top ]
- Posted by: Jeff Linwood
- Posted on: August 10 2004 22:11 EDT
- in response to Craig Walls
Excellent! We'll make a note that its fixed on our web site.
And I promised I'd put your name in :) -
only six chapters are available so ....[ Go to top ]
- Posted by: sajjad syed
- Posted on: October 29 2004 02:15 EDT
- in response to Nate Borg
If anyone of you were able to successfully download the entire document then please share it with me at [email protected]