on 06-07-2006 10:15 AM
Hai All
I need to Know How to provide Transaction to a Method In EJB using netweaver developer studio
and in the transaction properties 1) Required,2) Required new and etc
In which situations which one is used ,
Are there is any example using all these transaction types?
Anybody please help me in this regard
Thanks & Regards
Somaraju
Hi,
Refer this link to know more about Transactions
http://jonas.objectweb.org/current/doc/PG_Transaction.html#PG_Transaction-BeanMana
and these links for programming transactions
http://e-docs.bea.com/wls/docs81/ejb/implementing.html
http://e-docs.bea.com/wls/docs81/ejb/design_best_practices.html#1134968
Regards,
Uma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai,
your links are well, but I am getting one doubt ,
How we can test this transaction attribute for a method
is working well.
and there is also another doubt to me that is as follows:
There are two methods are there in a session bean named
a(), b()
I am calling method b() in a(),
If a client calls a()(inserting data in database using a entity bean's create method) worked perfectly, but while calling b()(retrieving data using entitybean's finder method), there is an error , in this situation I need to
roll back a()'s work How i can do that
How can we use CMP Transaction attributes on this two methods (a(),b())in this Scenario,
Please help me in this regard
Thanks & Regards
Somaraju
Thanks & Regards
Hi Somaraju,
Check Thomas`s nice explanation: and help.sap.com material http://help.sap.com/saphelp_nw04/helpdata/en/70/fcaefeb1bf41088649f4a0dbe618c8/frameset.htm
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.