Following are the Steps which I have performed
1 Created EJB 3 application in Myeclipse
2 Deployed it on JBoss 4.2
3 Created a Java Application in MyEclipse
4 Configure the build path to access the EJB application
5 Start the Server
6 Run the Application in MyEclipse.
7 It Works Fine.
Now I export the Client application to Jar --------> TestClient.jar
Now I export the
Interfaces in EJB application to --------> TestBeanInterface.jar
Following is the command I used to run the Client
java -cp "TestBeanInterface.jar;jbossall-client.jar";TestClient.jar com.gts.ejbdemo.client.MyBeanClient
N got the following output
Tell me what is I am doing wrong.........
But when I export all ejb application to jar It works................
Edited by: shashiwagh on Feb 26, 2010 4:53 AM