Skip to main content

Arun Gupta: TOTD #133: JPA2 (JPQL & Criteria), JavaDB, and embedded GlassFish - perfect recipe for testing

Arun Gupta provides TOTD #133: JPA2 (JPQL & Criteria), JavaDB, and embedded GlassFish - perfect recipe for testing:

TOTD #132 explained how to use embedded GlassFish for deploying/testing a simple Servlet. As mentioned in that blog, this Tip Of The Day (TOTD) will extend that entry and show how to create a simple test that: * Creates a JDBC Connection Pool using GlassFish APIs; * Creates a JDBC Resource using that Connection Pool, again programmatically...

Community: Java Enterprise