Facade Stateless session ejb Transaction attribute
Hi,
I have an Stateless session ejb acting as a facade to the
business classes. The EJB method just invokes appropriate business
class/methods based on the task id passed.
I wonder what should be the Transaction Attribute to be set
for that EJB.
By default Weblogic(My application server) uses 'Supports' and so far
I donot have any issue with it.
Just wondering if 'Supports' as the Transaction attribute
is correct in this scenario.
Any help is appreriated.
Thanks
Lourduraj
.
Relevant Pages
- Re: Facade Stateless session ejb Transaction attribute
... I have an Stateless session ejb acting as a facade to the ... business classes. ... class/methods based on the task id passed. ... I wonder what should be the Transaction Attribute to be set ... (comp.lang.java.programmer) - Re: J2EE - entities - When do JPA entity units get saved into the database
... as JPA entities and EJB 2 Entity Beans have ... serialized as-is and returned across remote calls. ... field changes back to the database if the changes occur within the ... same transaction that the entity was loaded in AND if the object has ... (comp.lang.java.programmer) - Re: EJB container manager transaction
... > If something goes wrong I would like to abort transaction. ... > At moment I can see, this is done from container only when the EJB method ... > Can I do it in one of class used by EJB without relying on Exception ... you call setRollbackOnly you should such code precede by test with ... (comp.lang.java.programmer) - Re: Regarding EJBs
... Assume that I have an EJB with two functions fn1 and fn2. ... Please note that only fn1 is exposed to outside world, ... The reason for calling it via its remote interface may be to allow CMT transaction demarcation if the method is transactional. ... (comp.lang.java.programmer) - Re: EJB - Why do we need java persistence on top of a database?
... ANSI-SQL is database independent as well, ... overhead of EJB. ... Isn't a transaction an application level issue? ... And with JDBC you can just do rollback(). ... (comp.lang.java.programmer) |
|