aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes query on bean managed transaction from ejb3.1 specs ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "query on bean managed transaction from ejb3.1 specs ?" Watch "query on bean managed transaction from ejb3.1 specs ?" New topic
Author

query on bean managed transaction from ejb3.1 specs ?

gurpeet singh
Ranch Hand

Joined: Apr 04, 2012
Posts: 924
    
    1

ejb 3.1 specs page 367 says

•If the client request is associated with a transaction T1, and the instance is not associated with a transaction, the container suspends the client’s transaction association and invokes the method with an unspecified transaction context. The container resumes the client’s transaction association (T1) when the method (together with any associated interceptor methods) completes. This case can never happen for a message-driven bean or for the invocation of a web service endpoint method of a session bean.

coulndt understood why it CANNOT happen for MDB ?
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1696
    
  25

Simply because a MDB does not have a client.

Regards,
Frits
gurpeet singh
Ranch Hand

Joined: Apr 04, 2012
Posts: 924
    
    1

oh yes. thanks alot Frits
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: query on bean managed transaction from ejb3.1 specs ?