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

Get Client JAR to access EJB from remote JAVA client application

58 Views

Experts,

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.

http://help.sap.com/saphelp_nw04/helpdata/en/5f/2dd984b5d1304b9155f161568f2f64/frameset.htm

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!

Kevin