I am trying to deploy my first
EJB, it is the same example given in [URL=
Book]Mastering EJB 3.0[/url]. As described in the book I have create a business interface and wrote an bean implementation of it. Since it is EJB3.0 I have used annotation and no deployment descriptor file. Deployed the same in
JBOSS using NetBeans.
Now I wrote the client to call a method (sayHello) in the bean class and the code goes like this (I tried using the same told in the example but it didn't workout
Note: My package structure is not as same told in the book. The only change I did
Now when I try to execute this
java program from command line I get
Though I am not much sure of the causes of the exception, by reading javadoc i presumed that it could be due to illegal name format. So I tried giving "Hello.class", "Hello"....
Can someone guide me in finding answers for
1. The reason for this exception
2. Steps to get out of it (and have my first EJB3.0 client running)
3. How to find my EJB is deployed.
I am using
JBOSS AS 4.2
Netbeans 6.0
Windows