quality@glassfish.java.net

Re: Coding for Java-EE 6 while being compatible to Java-EE 5

From: Richard Kolb <rjdkolb_at_gmail.com>
Date: Thu, 24 Dec 2009 09:30:12 +0200

Hi Judy

2009/12/24 Judy Tang <Judy.J.Tang_at_sun.com>

> Still working hard on your GlassFish projects. Hope you get some rest :-)
>

Yes, will get some rest between Christmas and new years.



> "We used to write tests using the OpenEJB standalone container, but OpenEJB
> seems to freak out about JPA 2 , actually the way the Facades are built with
> JPA 2 specific queries.", GlassFish is working fine, right?
>

Yes, thanks working well.

I am just lacking a way of writing good unit tests for the EJB project.

We have extensive testing here with OpenEJB (example *
http://openejb.apache.org/3.0/injection-of-entitymanager-example.html*) and
DBUnit (*http://www.dbunit.org/*) to load a lot of data into the database
for testing.
As soon as I can figure how to do that with JPA 2, I can contribute back to
the Kenai project so other people don't need to struggle as well.

regards
Richard.