Context ctx = new InitialContext(env);
getLog().debug("OK");
getLog().debug("");
getLog().debug("Looking up the home nextgen.StatefulSession...");
StatefulSessionHome statefulSessionHome =
(StatefulSessionHome) ctx.lookup("nextgen_StatefulSession");
if (statefulSessionHome!= null ) getLog().debug("ok");
getLog().debug("Calling create on StatefulSessionHome...");
StatefulSession statefulSession =
(StatefulSession)statefulSessionHome.create("Bupple-Dupple");
assertTrue("statefulSessionHome.create() != null", statefulSession != null);
getLog().debug("ok");
NodeAnswer node1 = statefulSession.getNodeState ();
getLog ().debug (node1);