The workable solution is to copy the shared classes to ejb directory and to
web one. I works perfectly.

> -----Original Message-----
> From: Magnus Rydin [SMTP:[EMAIL PROTECTED]]
> Sent: &yod;&vav;&fmem; &het;&mem;&yod;&shin;&yod; 07 &yod;&vav;&nun;&yod; 2001 09:42
> To:   Orion-Interest
> Subject:      SV: Common classes between ejb.jar & web.war
> 
> Is WL happy with just including the helper .jar:s in the .ear, or does it
> require it to be part of an ejb jar in order for it to be found by the cl
> ?
> 
> WR 
> 
> > -----Ursprungligt meddelande----- 
> > Fran: Andre Vanha [ <mailto:[EMAIL PROTECTED]>] 
> > Skickat: den 4 maj 2001 14:06 
> > Till: Orion-Interest 
> > Amne: RE: Common classes between ejb.jar & web.war 
> > 
> > 
> > I believe the ejb-jar file is the correct place.  I believe 
> > in orion, as in 
> > weblogic, the ejb classloader is the parent of each web app 
> > classloader, 
> > making classes packaged in you ejb jar available to all web 
> > apps (within the 
> > application).  You could also package your classes in a seperate 
> > jar/directory and point to it from orion-application.xml 
> > (application-deployments/%AppName%) using a <lib> tag. 
> > 
> > Hope this helps, 
> > 
> > Andre 
> > 
> > 
> > 
> > > -----Original Message----- 
> > > From:       Lou Farho [ <mailto:[EMAIL PROTECTED]>] 
> > > Sent:       Friday, May 04, 2001 12:30 PM 
> > > To: Orion-Interest 
> > > Subject:    Common classes between ejb.jar & web.war 
> > > 
> > > Where should one put classes that are shared between their 
> > ejbs and their 
> > > web interface? 
> > > Do you create a jar file and put it in the ear? Put in 
> > orion's lib dir? 
> > > 
> > > 
> > > Thanks, 
> > > Lou Farho 
> > 
> 

Reply via email to