I have a slight problem, I try to create a reference Stateless SessionBean but for some reason each time my client tries to access the Bean after looking it up on JNDI I end up getting the following exception:
Here is my source:
Remote Interface: Code:
Local Interface: Code:
Bean Implementation: Code:
Client Implementation: Code:
First I compile everything and package it into a JAR file. Then I deploy it on JBoss. After deploying I check the JNDI content and can see my TestBean and it's remote and local interface. Now I start the client (I have the client JARs of JBoss in the path) on my local pc out of a local copy of the JAR file I deployed on the server and then I get the above mentioned exception. Can anybody help me and tell me what I'm doing wrong???
Configuration: JBoss 4.0.4 GA jboss-EJB-3.0_RC8-FD JDK 1.5.0
[ June 08, 2006: Message edited by: Steffen Krause ] [ June 08, 2006: Message edited by: Steffen Krause ]
I already had them in the interfaces but I had exactly the same problem. Btw, it does't matter if you annote the interface with either @Remote or @Local or have them in the Bean as I did. The Java EE 5 specs allow both. Besides, after deploying I can see the correct entries in the JNDIView so that should work. But thanks for the help.
I already copied the jar files of the EJB3 zip to the corresponding locations (as the install document described). Still the same problem. Unfortunately there is NOBODY in the JBoss forum that seems to care about my entry. Thanks for your help.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com