I am new to EJB's I started with head first EJB.I am using eclipse IDE configured with JBoss 5.0.1 and I added Xdoclet for annotations purpose and configured it in eclipse. I have developed a simple bean and its two component and home interfaces and configured "ejb-jar.xml".Till this everything is fine.But after this I am not getting how to create "ejb-jar.jar" file and how to configure JNDI source etc and also how to deploy and how to see the output.PLease guide me These are the files which I have created:
System.out.println("error Now in catch");
These are all the files after this what I have to exe4cute the EJB's please tell em step by step in detail I am after this from 2 days But in vain. Please its haunting me. please help me anyone.
Thanks in advance.
Joined: Apr 08, 2008
Well ... I recommand you to use ejb3 with annotations with no descriptors.
A simple EJB looks like :
has you seam to whan some remote object, your interface should implements the remote interface from ejb ..
I recommand you to use maven2 for dependencies so that you will just have to import :
and in the client side you can do an JNDI Lookup to get the remote ejb object and it should work !