Hi,

We've implemented a Swing client using the RMIInitialContext factory. 
 The rmi context factory allowed us to make several connection attempts 
ie a user mistypes the password.   We were unable to get the same result 
from the application client factory but that doesn't mean it won't work.

In order to make your ejbs work without putting the jar files in orion 
lib is to add to the class-path variable in the manifest file for you 
ejb-jar file.  Basically add a line similar to the following to a 
manifest file:

Class-Path: jar1.jar, jar2.jar

Then when creating the ejb-jar file make sure you include the manifest 
and jar files listed in the manifest.

Hope this helps.

Todd

Darcy Schultz wrote:

>I'm trying to create a Java Swing Client that will communicate with Session
>EJBs running in Orion.  Everything works fine, except that in order to use
>"com.evermind.server.rmi.RMIInitialContextFactory" or
>"com.evermind.server.ApplicationClientInitialContextFactory" I need to
>deploy orion.jar on the client.  Is there a lighter jar file that I can
>deploy? orion.jar is over 3MB.  BTW: What the difference between these
>Factory classes?
>
>Secondly, my EJBs are using off-the-shelf frameworks packaged in JAR files.
>I would prefer to deploy these JAR files within the context of my
>application (in the EAR file), but the only way I have managed to make it
>work is to put it in orion's lib directory.  So my question is how do you
>include jars and reference the classes in those jars from the EJB.
>
>thanks,
>Darcy Schultz.
>
>



Reply via email to