Assuming the SLSB requires a transaction and the CMP create does not create a new one it should be atomic already.
-----Original Message----- From: Ionel Gardais [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 7:51 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] SLSB atomicity Hi, I have a SLSB acting as a facade for all my CMP entities. In one of my SLSBmethods, I create two CMP beans. Is it possible to give this method an atomicity so if the first bean's creation fails, the second one shouldn't be created OR if the second bean's creation fails, the first bean should be deleted ? thanks, ionel ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user