Win a copy of Rust Web Development this week in the Other Languages forum!

jigara shah

Greenhorn
+ Follow
since Apr 20, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by jigara shah

Here is my code


Can i specify list of files for lib. Like may be fileset or patternset
SOmething like
<lib refid=${patternset.id}>

I tried but does not really work. Is there a way to workaround this. ? Traditional way i use is to copy set of files in a directory ${lib.dir} and copy the same. but its really problematic as we need to delete them regularly.
12 years ago
Is there an alternative for
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>

and not to refer struts.apache.org ?
13 years ago

[ July 10, 2008: Message edited by: jigara shah ]
I tried but it does not join. so i am trying to figure out some test which can explain me why this has happened.

Originally posted by Scott Selikoff:
The transactional XML attributes only come into play if you are using Container Management Transactions (CMT). If you are creating/starting transactions on your own, or bean managed transaction (BMT), the behavior is completely up to you.



Yes i get that. But my question is, I am calling a method which has CMT inside a method (in a separate class) which is under Usertransaction. Then it should join User transaction right ?

In summary i am trying to figureout "Will calling EnitiyBean create() method which is under CMT; will join User transaction if its called from that transaction ?"


ClassA {
UT.begin
ejbCreate();
UT.end
}




//Under CMT
EntityBeanClassB {
ejbCreate();
}
[ July 10, 2008: Message edited by: jigara shah ]
I have a method in java class which uses UserTransaction and within transaction it calls enitiy bean create() (It creates a row in database). Now just incase if i roll back this transaction then it does not rollback entity created in entity bean.

structure of the code is something like this....


Transaction attribute for entity bean is Required.