Hi, I'm Rajesh.I'm working in satyam. I got ur e-mail id from enhydra.org.I need ur help on Transaction Management in EJB. Because what i feel is that u had also faced the same problem which i'm now facing it. So can u please help me and i shall be very very thankful to u. Thanks& Regards Veera Problem is. I'm getting the IllegalStateException , while i'm running my client.and its saying 'the transaction doesn't associated with ur current thread" what i have done. I'm creating one bean managed entity bean. I want to commit transaction at the client side. so i'm using usertransaction as mentioned below. /*****************Simple Client Java for EJB Transaction *************/ package EJBTransaction; import javax.transaction.*; import javax.ejb.*; import java.util.*; import javax.naming.Context; import javax.naming.InitialContext; public class EJBClientTransaction{ public static void main(String[] args) throws Exception{ try { Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory "); Context ctx = new InitialContext(p); System.out.println("Before Transaction"); UserTransaction ut = (UserTransaction)ctx.lookup("javax.transaction.UserTransaction"); ut.begin(); EJBTransactionHome home = (EJBTransactionHome)ctx.lookup("LossHeader"); System.out.println("Before Remote"); EJBTransactionRemote remote = home.create("100","D","S","3","10-03-2001","11-04-2001","12-05-2001"); System.out.println("After Remote"); ut.commit(); } catch(Exception ex) { System.out.println(ex); } } } __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets