Page 1 of 1
About Question enthuware.oce-ejbd.v6.2.348 :
Posted: Wed Feb 19, 2014 8:53 pm
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 ?
Re: About Question enthuware.oce-ejbd.v6.2.348 :
Posted: Wed Feb 19, 2014 9:22 pm
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).
Re: About Question enthuware.oce-ejbd.v6.2.348 :
Posted: Mon Jun 15, 2015 12:46 pm
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)?