Hi Jean, 

Here's another couple of articles on classloading in J2EE, which you
might find interesting: 

http://www.onjava.com/pub/a/onjava/2001/06/26/ejb.html
http://www.onjava.com/pub/a/onjava/2001/07/25/ejb.html

Bear in mind that these are over a year old though. 

I'm using Weblogic 6.0, which doesn't support the Manifest "Class-Path:"
mentioned in the articles, so I have to either copy all library classes
into the EJB jar or put the library jars on the Weblogic class path.
This might be fixed in Weblogic 6.1 and/or 7.0, but I don't know. 

I would package your EJBs into a single EJB jar if they are logically
part of the same application. If you use Local EJB objects, then I think
you have to do this anyway. 

HTH. 

Regards, 
Al.


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: 12 December 2002 14:28
> To: JDJList
> Subject: [jdjlist] JAR deployment under WebLogic
> 
> 
> Hi,
> 
> i'm actually facing some probleme in the JARs 
> creation/deployment process with WebLogic. Up to now, we've 
> been using TogetherJ to package our Jars. Everythings worked 
> fine as a blackbox...
> 
> But we've now some classloader problems due to TopLink (I 
> think). So it is time to change our EJB packagement. I just 
> would like to have some advice on best pratices concerning 
> Jar packaging.
> 
> We've only 2 EJB Sessions, stateless, couple of libs and 
> properties files. We were creating one Jar per EJB, but both 
> of them contained most of the serevr app classes. It was not 
> much of a problem since classes were the same but it doesn't 
> look clean at all. We were not packaging any properties or 
> lib with the EAR. Everything was included in WL classpath. It 
> doesn't looks a good practice either!
> 
> I think the best would be a Jar per EJB but only with the 
> minimum amount of class with them (but where to stop??) and a 
> third Jar with all app classes and the n Libs and Properties 
> packaged in the EAR file.
> 
> I haven't been able to find much ressources on this on the 
> web. I've got no idea on how classes access each others in 
> between Jars. Does any one have some good link about this 
> subject or even have a good idea of how it works and it is 
> best to do??
> 
> regards,
> jean
> 
> 
> 
> 
> **************************************************************
> ***********
> Ce message et toutes les pieces jointes (ci-apres le 
> "message") sont confidentiels et etablis a l'intention 
> exclusive de ses destinataires. Toute utilisation ou 
> diffusion non autorisee est interdite. 
> Tout message electronique est susceptible d'alteration. 
> La SOCIETE GENERALE et ses filiales declinent toute responsabilite au 
> titre de ce message s'il a ete altere, deforme ou falsifie.
>                               ********
> This message and any attachments (the "message") are 
> confidential and intended solely for the addressees. Any 
> unauthorised use or dissemination is prohibited. 
> E-mails are susceptible to alteration.   
> Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates 
> shall be liable for the message if altered, changed or falsified. 
> 
> **************************************************************
> ***********
> 
> 
> ____________________________________________________
> To change your JDJList options, please visit: 
> http://www.sys-con.com/java/list.cfm
> 
> Be respectful! Clean up 
> your posts before replying 
> ____________________________________________________
> 

____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________

Reply via email to