Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Class Loading in Web Tier (Solved)

Class Loading in Web Tier (Solved)

2003-07-31       - By Vikram Naik

 Back
Reply:     1     2  

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".



©2008 junlu.com - Jax Systems, LLC, U.S.A.