What's the current best practice for unit testing EJB's, (both Entity and Session)?

I'm trying to avoid having to deploy them to a separate JBoss instance to test them. More precisely, I want to be able to deploy them to an in-memory container, if possible, similar to Hypersonic's in-memory database. Ideally, the EJB container would be running within the JVM of the JUnit test runner, persisting my CMP beans to the memory-resident Hypersonic db.

Possible or stupid?

-- Jim



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to