U are not saying this question is about a MDB in the description!!!
The onMessage method of a MDB can only have Required or NotSupported.
SOOO BUGGY UR TOOL
About Question enthuware.oce-ejbd.v6.2.469 :
Moderator: admin
-
- Site Admin
- Posts: 10046
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.469 :
The given answer is correct. As the explanation shows, you cannot use just about any transaction attribute value for any bean.
If you like our products and services, please help us by posting your review here.
-
- Posts: 358
- Joined: Fri Nov 29, 2013 8:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.469 :
Regarding to restriction on the transaction attribute,
the @PostConstruct and @PreDestroy methods run in unspecified transactional context for MDB, stateless and stateful bean.
So, even if the beans are CMT and the default attribute is REQUIRED, those lifecycle callback methods are still running in unspecified transactional context?
the @PostConstruct and @PreDestroy methods run in unspecified transactional context for MDB, stateless and stateful bean.
So, even if the beans are CMT and the default attribute is REQUIRED, those lifecycle callback methods are still running in unspecified transactional context?
-
- Site Admin
- Posts: 10046
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.469 :
Yes, life cycle callbacks are always in unspecified transaction context.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 9 guests