| Author |
Class Loader for Portlet Application
|
Vikrant Pandit
Ranch Hand
Joined: Mar 27, 2006
Posts: 245
|
|
JSR 168 SAYS
The Portlet container must use the same classloader that the servlet container uses for the Web application resources in order to load the portlets and related resources within the portlet application
I cannot understand the exact importance of this statement. Can anybody shed more light on this ? Thanks
|
Vikrant Pandit
|
 |
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Joined: Aug 26, 2006
Posts: 4967
|
|
Basically, it's saying that a portlet application should behave the same way a web based application, from the perspective of the class loader, would behave if deployed to the same Servlet/JSP container upon which the portlet container is based. If you've never been bitten in the behind by classloader problems, it probably doesn't mean much. If you have been, you'll have a bit more appreciation for the statement. For more on classloaders and how they can really complicate a J2EE application, check out this link: Understanding and Demystifying J2EE Class Loaders -Cameron McKenzie
|
Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
|
 |
Vikrant Pandit
Ranch Hand
Joined: Mar 27, 2006
Posts: 245
|
|
Thanks for your answer Cameron .... It cleared up my doubts
|
 |
 |
|
|
subject: Class Loader for Portlet Application
|
|
|