• Post Reply Bookmark Topic Watch Topic
  • New Topic

Handling of Transactions in EJB 2.1 version  RSS feed

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

We are using EJB 2.1 version .
I am having some confusion in understanding EJB Transactions in 2.x versions of EJB .

In our Application , inside the session bean class we are not using any UserTransaction and on to the weblogic-ejb-jar.xml file the tag <transaction-descriptor></transaction-descriptor> is just empty .

I am having a query here , can you please tell me who is actually handling the Transactions ??

Can you please share your ideas on this .

Thanks in advance .
 
ramprasad madathil
Ranch Hand
Posts: 489
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The <transaction-descriptor> tag in weblogic-ejb-jar.xml supports just one attribute which is the transaction time-out.

It is in the ejb-jar.xml where the type of transaction is specified (Container vs Bean). It's also here that transaction attributes for individual methods are specified.

Example



ram.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are really a expert in EJB , Thank you very much .
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!