This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I’m trying to use OpenEJB in my web project, but I could not make it work after a week. I’m searching in examples, blogs, googling… I'm a new developer in this web world and I’m a bit frustrated .
I’m using NetBeans IDE 7.1, Apache Tomcat 6.0.26, OpenEJB 3.0 and JSF 2.0. First I insert openejb.war into folder Apache Tomcat 6.0.26\webapps. Looks like the tomcat works ok because after running the project tomcat logs:
And this my code:
persistence.xml openejb.xml I did not add extra code and when the line gm.getAllGender(); in GenderController tries to execute, I get the following exception:
After this long explication (really long)... please anybody can help me!?!?!? Because I'm in a dead point for this.