Thanks a lot for the reply, I have some more questions :
1. If the helper classes are accessed by my servelets as well as EJBs
whould the suggested
Configuration still work?
2. Where do I put the class which are clients to my EJBs ? For example :
Servlet A ----> Class B ----> EJB C. Where do I put my class B?
Dave Smith wrote:
>
> One way to do it would be to set the Classpath attribute in the ejb jar
> manifests
>
> e.g.
>
> Class-Path: helperclasses.jar
>
> Abhilash Koneri wrote:
>
> > Hi ,
> >
> > I have an application which consists on several enterprise beans. All
> > the beans access several helper class (Data access objects, etc). I need
> > to now what is
> > the best way of deploying the application in the Orion server.
> >
> > My first attempts at this were
> >
> > 1. Compile the ejbs into ejb jars
> > 2. Compile the web components in war files.
> > 3. Compile the helper class into jar files.
> > 4. Create the Ear file consisting of the ejb-jar and war file.
> >
> > Now when I run the server I need to export the cleasspath containing my
> > helper classes
> > (the jar file refered in 3). But when I invoke orion
> > server using java -jar orion.jar , it overrides my system classpath with
> > the classpath in the manifest. So, is this not a recommonded way to
> > deploy the
> > application. If not, it would be of immense help , if someone can
> > provide advice/pointers.
> >
> > regards,
> > abhilash
>
> --
> David Smith
>
> Software Development Manager
> e-Net Software Ltd
> [EMAIL PROTECTED]