Hello,

i'm using transactions within servlets, sessionbeans
with no problems.

now i'm trying this from an ordinary app-client but it
caught an exception:
   "java:comp/UserTransaction not found"

what goes wrong?

thanks a lot
  klaus


 import javax.naming.*; 
 import javax.transaction.*; 
 ... 
 TransactionManager tm =
   (TransactionManager)new
InitialContext().lookup("java:comp/UserTransaction");

--
Klaus Thiele - Personal & Informatik AG
mailto:[EMAIL PROTECTED]

 "There's got to be more to life than compile-and-go."

Reply via email to