Hi,
I have written and deployed a
EJB on my J2EE server. To access this service, I have written a Simple
java client. However I am not able to access the service.
When I give the below command :
c:\rohan\JavaProject\ejb\Advice> java AdviceClient
It throws a RemoteException while trying to access the EJB exposed method.
While Deploying the EJB object, the tool had created a Client jar which contains the Stub by which the EJB service can be accessed by the outside world.
However when I give the below command
c:\rohan\JavaProject\ejb\Advice> java -classpath <EJB created Client jar> AdviceClient
It throws a NoClassDefFoundError exception.
Can anybody help me out in resolving this issue?
Thanks and Regards,
Rohan