About Question enthuware.oce-ejbd.v6.2.348 :

Moderator: admin

Post Reply
renatumb
Posts: 47
Joined: Mon Apr 08, 2013 7:55 pm
Contact:

About Question enthuware.oce-ejbd.v6.2.348 :

Post by renatumb »

First option says:
Not all type of beans (i.e session and message beans ) can be transaction aware
Its explanation says:

Code: Select all

Both types of beans can be transaction aware
But, can stateless session bean be transaction aware ?

admin
Site Admin
Posts: 10053
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.348 :

Post by admin »

Yes. Transactions can be used in any bean and in any bean code you can check the current status of a transaction using either UserTransaction (for BMT beans) or getRollbackOnly/setRollbackOnly of EJBContext (for CMT beans).
If you like our products and services, please help us by posting your review here.

himaiMinh
Posts: 358
Joined: Fri Nov 29, 2013 8:26 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.348 :

Post by himaiMinh »

What is meant by an EJB can be included in an assembled application without requiring code changes or recomplication?

Does it mean the application contains the EJB by reference ( includes the classpath of the .jar file in META-INF/MANIFEST file)?

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests