Skip to Content
Former Member
Mar 13, 2007 at 02:37 PM

Get Client JAR to access EJB from remote JAVA client application



As I understand, when you access enterprise beans from a remote Java client application, you must <u>get Client JAR</u>. This will provide the necessary classes to use the client view of the enterprise beans. The Deploy service can pack the interfaces, stubs, and skeletons of the EJB application in a JAR file, which is created in the directory you specified.

Further, here is the procedure to obtain the client JAR.

This procedure is a bit too advanced for me, so I have a few questions:

1. The procedure mentions that I need to "Select the EJB application for which you want to create a client JAR from the Deployed Components list." Where do I do this? In the VisualAdministrator tool?

2. At the end, the procedure indicates that to be able to do this you have to set a classpath reference from the Java client application to this client JAR. Does this mean I have to add this JAR as an "external JAR", similar to how I added the sapj2eeclient.jar and ejb20.jar?

Thanks much!