OpenEJB

Monday August 03, 2009

User Blog: Restarting the embedded OpenEJB container between each test

Jonas Bandi writes in his CLOSED-LOOP blog a nice entry on Restarting the embedded OpenEJB container between each test. Jonas documents the use of a newer property "openejb.embedded.initialcontext.close" which allows you to destroy the embedded container system after each test.

Note that Maven users can use Surefire Forking to achieve a similar result that will also clear out any embedded database state as well. That approach basically gives you a fresh VM for every test and the approach we use internally in our build. Haven't done any speed comparisons to see how they stack up speed wise.

Comments:

muito bom!!!

Posted by maluporvoln1973 on July 18, 2019 at 12:56 PM EDT #

I think ............. its a really amazing work Just i love your good job amaziiiiiiiiiiiiiiiing

Posted by canadian on July 20, 2019 at 07:05 PM EDT #

Post a Comment:
Comments are closed for this entry.

Calendar

Search

Hot Blogs (today's hits)

Tag Cloud

Categories

Feeds

Links

Navigation