Thanks. That at least clears this up. What if I EAR the whole thing and deploy the EAR? Would the EJB then be able to see the classes..or at that wouldn't make any difference? > -----Original Message----- > From: Robert Krueger [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 15, 2000 9:20 AM > To: Orion-Interest > Subject: Re: EJB using "core" classes? > > > <snip/> > > > >At any rate..my main question here is, the EJB class in the > jar file is > >referencing the core class. I don't have the core package in > the jar file. I > >thought if I deployed the jar file into the same web-app as the other > >classes were in, it would have access to these classes. I > compile classes to > >WEB-INF/classes. Is this not the case? Is there some > trickery to getting EJB > >classes to see the WEB-INF/classes? > > no, it's impossible and not meant to be that way. > > two possible cases: > > - your class is not application specific but a general > utility in which > case you could put it in a library that is specified in the > library path of > global-application and therefore visible for all web an ejb > modules in all > application or you have to explicitly put it where the ejb > code gets it > - it is application specific and used by both web an ejb then > you have to > put it in a separate jar which you reference in > orion-application.xml (or > the dir it's located in, look at the library element) and it will be > visible to both ejb and web modules. > > HTH > > robert > > >Thanks for any help. > > > > (-) Robert Kr�ger > (-) SIGNAL 7 Gesellschaft f�r Informationstechnologie mbH > (-) Br�der-Knau�-Str. 79 - 64285 Darmstadt, > (-) Tel: 06151 665401, Fax: 06151 665373 > (-) [EMAIL PROTECTED], www.signal7.de >
