glassfish « Test « JPA Q&A





1. Question on testing JPA in GlassFish    java.net

I am using GlassFish and NetBeans to create a JSF app that access a MySQL DB via JPA/Toplink. I have created a Web App project, create entities from the DB. Everything is Ok, except that I have problems to unit test my entites and my business logic with JUnit. These problems seem related to JNDI stuff. (Test is outside the container). ...