System.setProperty(Context.PROVIDER_URL, "localhost:1099");
InitialContext ctx = new InitialContext();
UserTransaction ut = (UserTransaction) ctx.lookup("UserTransaction");
ut.getStatus();
ut.begin();
CtsCmpHome home = (CtsCmpHome) ctx.lookup("ejbcts/CMPBean");
AccountPK pk = new AccountPK("testWithDefaultJndiContext");
CtsCmp bean = home.create(pk, "Scott");
bean.setPersonsAge(40);
ut.commit();