Hi everybody!
I'm once again in trouble and really need your help!
I developped a simple entity bean that has 4 fields, id, name, email and password. I created the getters and setters and added all the stuff necessary for the ejb3 (@Entity, @Id and so on). I also created a ContactManager stateless bean that contain the business method (addcontact or listcontact) and I would like now to create the client to test that.
Sadly, I don't have any idea how to do it. I am really new to almost every concept here, I don't know jndi (and I dont get how to specify the jndi name here because I actually don't define it) and I don't understand all those things with the EntityManager, the context stuff and so on. you see, it sounds pretty bad!
However, I would really like to create that client! If someone knows where I can find some kind of a standard client to make that work it'll be great.
The soures of my application can be found there
http://www.laliluna.de/ejb-3-tutorial-jboss.html
The problem in this tutorial is that it creates another file that will create and delete some contacts automatically, but I'd like to create them myself typing their name, email and password...
Any idea?
(thx!)
Look at the JBoss Trailblazer. I think it's the best tutorial i found yet about EJB 3.
http://trailblazer.demo.jboss.com/EJB3Trail/
Also the sun tutorial is a good place to start
http://java.sun.com/javaee/5/docs/tutorial/doc/JavaEETutorialPartFour.html#wp996871
Regards
Peter