Hi all,
In weblogic, there is one stateless session bean (SLSB) as facade to an application that has POJOs.
I do not want to set any transaction settings on the SLSB, instead I want to use Spring declarative transaction setting on one of the POJOs (There are 5 pojos used in a workflow and I want to declare transaction settings at 4th pojo only).
I have few basic questions about
EJB and JTA in
java 5:
1) I want to use container managed bean (CMT) only, for the above SLSB, is it possible because I do not want to set any transaction at this level?
2) What is the default transaction setting for a CMP in weblogic?
3) If I extend this above scenario to use JTA( hitting 2 databases in a single transaction), can I still use CMP in weblogic?
4) In case a single transaction that hits more than one database, can declarative transaction management along with
javax.transaction.Transaction be used?
If so, how is it different from javax.transaction.xa?
Can you give an example of code.
6) Is the transaction processing different for Message driven beans in distributed and local transactions?
5) Are there any good books to understand JTA usuage in EJB world?
Thanks in advance for your valuable time and interest.