What if you need to span your transaction across multiple Servlet invocations?
Submitted by: AdministratorYou can't with a Servlet. A JTA transaction must start and finish within a single invocation (of the service() method). You should consider using a Stateful SB. In a SFSB with a JTA transaction, the association between the bean instance and the transaction is retained across multiple client calls.
Submitted by: Administrator
Submitted by: Administrator
Read Online JBoss Job Interview Questions And Answers
Top JBoss Questions
☺ | What is JBOSS? |
☺ | What is JBoss JBPM? |
☺ | What is the difference between JAX--WS and JAX-RPC? |
☺ | What is JBoss cache in short? |
☺ | What is JTA? |
Top Java Programming Language Categories
☺ | Core Java Interview Questions. |
☺ | Hibernate Interview Questions. |
☺ | Advanced Java Interview Questions. |
☺ | IBM WebSphere Interview Questions. |
☺ | Spring Framework Interview Questions. |