On Thu, Nov 25, 2004 at 07:20:50AM -0500, Mark Lybarger wrote:
> a while back i heard that the testing "magic" (allows junit testing of 
> ejb's) that's in the 1.0 openejb is not yet available in the 2.0 
> development branch.  from the geronimo releases i can see that the 
> openejb 2.0 development is coming along quite nicely. 

Definitely.  The last few remaining pieces are an EJB-QL parser, CORBA
adapter, and Web Service support.  Alan Cabrera is working on the
CORBA stuff and I just started digging into the Web Services side.
Bruce Syder of Castor JDO had intended to write the EJB-QL parser, but
couldn't get the free-time.  I think either Dain or Gianny will tackle
it.

> i was wondering if someone could give a brief overview perhaps of what 
> the testing "magic" is that allows the quick embedded server to be used 
> for junit testing, and if it's still missing from 2.0, what needs to be 
> done?

Well, basically we need an Assembler implementation 
(http://www.openejb.org/design_assembler.html) that takes the 
OpenEjbConfiguration tree 
(http://www.openejb.org/apidocs/org/openejb/alt/assembler/classic/OpenEjbConfiguration.html)
 and uses the data in it to boot and populate a Kernel.  Then all the 
embbeding, testing, validating and configuration code from OpenEJB 1 will just 
work.

There are plenty of tricky bits involved in doing that, but that is the essence 
of it.

-David

Reply via email to