This content has been marked as final. Show 1 reply
have some session beans (EJB 2.1), attached to datasource #1 and one bean attached to datasources #1 and #2.
I do not need two-phase processing. How tell it to JBoss?
These two statements do not add up. If you are using a transaction manager with multiple data sources then you need two phase processing. If you don't need two phase processing then you don't need transactions.
If you do not understand this then I suggest you go back to college and enrol on course Transactions 101. Alternatively, read Mark Little's book, Java Transaction Processing: Design and Implementation (http://www.amazon.co.uk/Java-Transaction-Processing-Design-Implementation/dp/013035290X).