wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes setTransactionTimeout in CMP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "setTransactionTimeout in CMP" Watch "setTransactionTimeout in CMP" New topic
Author

setTransactionTimeout in CMP

nimo frey
Ranch Hand

Joined: Jun 28, 2008
Posts: 580
When using BMP and UserTransaction, I have a property called "setTransactionTimeout".

When using CMP instead of BMP, where can I set a value like "setTransactionTimeout"?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

This will depend on which container you are using.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
nimo frey
Ranch Hand

Joined: Jun 28, 2008
Posts: 580
okay got it. I am using jboss as and the transaction timeout is defined within the server.xml.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Yup.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: setTransactionTimeout in CMP
 
Similar Threads
Entity EJB and BLOB
Pls explain this
ejbCreate()
CMP vs BMP
CMP Vs BMP Which one is better