9. Running the Client Application

Example 1.9. AboutClient.bat

@cls
@SET WS_HOME=..\..\..\..\..\..\..
@SET WS_CLASSPATH=%WS_HOME%\EnterpriseArchives\J2EE_RI\AboutBeanClient.jar 1 
@SET WS_CLASSPATH=%WS_CLASSPATH%;%J2EE_HOME%\lib\j2ee.jar
@SET WS_CLASSPATH=%WS_CLASSPATH%;%WS_HOME%\target
@java -cp %WS_CLASSPATH%  AboutClient
1

This is the JAR we just generated by the J2EE Deployment Tool and contains all the required interfaces and stubs for a client to execute the methods of a remote EJB.