Class Loading in Web Tier (Solved) 2003-07-31 - By Vikram Naik
Back Hello People,
For now atleast I have solved the issue of Class Loading by Sub-classing the Parser and overiding the methods where class-loading is done in the parser. So now virtually the parser is in the web-tier and hence have visibility to the classes in the web-tier.As xerces is an open-source, had look at the code and decided overiding two methods where class loading was done in the parser.
But still I have a query regarding the packaging for an enterprise application. Should the ear file contain only the ejbs and a war file with only web resources with jsp,servlets , htmls and images, and the libs say a jar doing some xml parsing be placed in system lib.Can it also help as far as maintainence is cconcerned.
Thnaks & Regards, Vikram Naik
-- -- Original Message -- -- From: "Tim Wood" <timwood0@(protected)> To: <J2EE-INTEREST@(protected)> Sent: Monday, July 28, 2003 7:14 PM Subject: Re: Class Loading in Web Tier
> At 01:44 AM 07/28/03, you wrote: > >hi; > >I don't know much about jboss, but in web sphere you can choose the class loading scheme to load from the war first. > >try to put all your 3rd party jars in the web-inf/lib so your war is portable and self contained. in this case, the only time you will go to the system classpath is for loading the App Server runtime classes (there probably is a websphere.jar some where which is the J2EE implementation of IBM). > > (Newbie comment here, please correct if wrong...) > As an application provider, you may not have the right to copy 3rd-party jars into the .war/.ear you distribute. The best balance of portability and observance of license rights would seem to be to devise a robust means of finding required 3rd-party libs from standard installation locations. Or specifying the locations might be a manual step to deploying the distributed application, i.e., a "deployment classpath". > Thanks, > TW > > =========================================================================== > To unsubscribe, send email to listserv@(protected) and include in the body > of the message "signoff J2EE-INTEREST". For general help, send email to > listserv@(protected) and include in the body of the message "help". > >
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|