Hi, From a Design Perspective,is it OK to do database updates/deletes using SLSBs and JDBC?If yes is JDBC good enough to handle transactions.Or do I need to use the JTA API?
From a design perspective using JDBC and SLSBs is fine. You can set the SLSB with a transaction setting to manage the transaction for you (rather than use JTA.) And if each statement is a transaction in itself, you don't even need to do that - JDBC handles it for you.
For a non-EJB application, you have the option of JDBC or JTA transactions. But for an EJB application, the container uses JTA transactions under the covers for CMT beans. Of course, you explicitly use JTA for BMT beans. The container will handle all commits and rollbacks.
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
Drove my Chevy to the levee but the levee was dry. A wrung this tiny ad and it was still dry.