"kenshin", We don't have many rules here at the ranch but your display name is currently violating one of the few. You can change your display name here. Thanks. And welcome to the JavaRanch!
Originally posted by kenshin: hi sergiu truta: thanks for yuor reply, but i want to know is "how to use JTA interface", without "EJBContext" object in J2EE Environment.
Context jndiCntx = new InitialContext(); UserTransaction tran = (UserTransaction)jndiCntx.lookup("java:comp/UserTransaction"); utx.begin(); ... utx.commit(); I think you need to use the JNDI and JTA API, and most of the application servers bundle these relevant classes...
Don't get me started about those stupid light bulbs.