I am using Spring with Hibernate 3. I mean: those technologies are compatible. So you can test Hibernate data objects without a container using Spring as a framework, if you want. Regards, Pedro Nevado
-----Mensaje original----- De: Rod Macpherson [mailto:[EMAIL PROTECTED] Enviado el: martes, 04 de octubre de 2005 11:18 Para: Cactus Users List Asunto: RE: EJB Persistance Testing Well, most of the time I'm the architect so I don't have that problem:) -----Original Message----- From: Luis Sérgio Oliveira [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 04, 2005 1:46 AM To: Cactus Users List Subject: RE: EJB Persistance Testing It is not always a matter of choice. Most of the times you get into projects where that is simply something that has been decided by others! Best regards, Luis Sergio Oliveira -----Original Message----- From: Rod Macpherson Well, I wouldn't use Spring for persitence. I would use EJB 3.0 or Hibernate, both similar. I'm not convinced Spring is all-that. -----Original Message----- From: Andrew Swan Better Question: why use EJBs at all when you can use Spring and either (a) ditch EJBs completely or (b) use them only as logic-free delegators to POJOs (which are completely testable outside a container)? Andrew -----Original Message----- From: Rod Macpherson Question: why bother when you can test them for real? -----Original Message----- From: bala chandar hi martin, You can go for MockEJB to test CMP. It is purely outcontainer testing. You can use Junit with MockEJB to check the assertions. U can check it on www.mockejb.org <http://www.mockejb.org> Regards bala On 10/4/05, Martin Ying <[EMAIL PROTECTED]> wrote: > > Newly test infected, however don't see how to create CMP and BMP test. > My lack of testing experience is raising questions like what should I > be testing, how do I design good test for EJB persistence. It's either > in the DB or not, what's there to test? Are there good article and/or > books that go into detail about designing test cases specifically for > EJB persistence layer testing? Thanks! > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]