Posted By:
Wendell_Myers
Posted On:
Friday, July 26, 2002 07:19 AM
I have a stateless session bean method that call a DAO to update data. if I invoke the method through 2 seperate browser instances at the same time using a servlet, why do I get the same transaction using:
userTran = (UserTransaction)ic.lookup
("java:comp/UserTransaction");
System.out.println("User tran: " + userTran.toString());
I should expect 2 different transactions but get the following:
User tran: com.evermind.server.ApplicationServerTransactionManager@402d83
User tran: com.evermind.server.ApplicationServerTransactionManager@402d83
Thanks