File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Session & MDB transaction type
Joined: Apr 12, 2004
Dec 12, 2007 03:39:00
Is there an annotation in
3.0 that can be used to specify that the bean has bean managed transaction instead of using a deployment descriptor to define the bean transaction type.
Waleed Zedan<br />SCJP 1.4
Joined: Nov 08, 2007
Dec 12, 2007 08:15:00
I much prefer the container to do my heavy lifting, but I think you may be looking for
@Stateless <a href="http://java.sun.com/javaee/5/docs/api/javax/ejb/TransactionManagement.html" target="_blank" rel="nofollow">@TransactionManagement(TransactionManagementType.BEAN)</a> public class MyBean ...
Bill Shirley - bshirley - frazerbilt.com
if (Posts < 30) you.read(
I agree. Here's the link:
subject: Session & MDB transaction type
can a class contain CMT and BMT methods
JTA Transaction doesn't rollback Hibernate sessions
JTA Application Managed EntityManager question
Default Transaction Type in EJB-jar.xml
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015