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 [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 04, 2005 12:23 AM To: 'Cactus Users List' Subject: RE: EJB Persistance Testing 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 [mailto:[EMAIL PROTECTED] Sent: Tuesday, 4 October 2005 5:12 PM To: Cactus Users List; bala chandar Subject: RE: EJB Persistance Testing Question: why bother when you can test them for real? -----Original Message----- From: bala chandar [mailto:[EMAIL PROTECTED] Sent: Monday, October 03, 2005 9:51 PM To: Cactus Users List Subject: Re: EJB Persistance Testing 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]