users@glassfish.java.net

Re: GlassFish v3 - separate ejb container jar file?

From: Ryan de Laplante <ryan_at_ijws.com>
Date: Tue, 15 Jan 2008 12:09:05 -0500

That is really good to hear - especially when EJB 3.1 is available. Just
to be clear, when you say "within a single (client) VM", you mean that
we will be able to start/stop an EJB container inside of unit tests
completely independent of an application server? Will the startup time
be sub-second like Spring, allow you to pass in different configurations
for testing, let you add JTA if you need transactions, etc?

I've talked with people who didn't want to use EJB because it was too
hard to do testing with. Ejb3unit might help (I haven't tried it), but
having a real container available in unit tests like Spring will really
help.


Thanks,
Ryan


Mahesh Kannan wrote:
> Ryan de Laplante wrote:
>> Since GlassFish v3 will be so modular, I'm wondering if we'll one day
>> see an EJB container that is basically a jar file like Spring that we
>> can use outside of an app server, in unit tests, etc.
> Though this has not been finalized, Yes that is the plan. You should
> be able to test and run EJB apps within a single (client) VM.
> Thanks,
> --Mahesh
>> Will we see a
>> bunch of test suites that come with it so that developers can unit
>> test EJBs, MDBs, JPA, etc. like with Spring?
>>
>> Has anyone used ejb3unit? Is it any good?
>>
>> Thanks,
>> Ryan
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>