Hello, I'm connecting using JNDI to a J2EE server, using this code
InitialContext context = getInitialContext();
this.context = context;
homeObj = context.lookup("ABean");
sharesHome = (AHome) ****tableRemoteObject.narrow(homeObj,
AHome.class);
private InitialContext getInitialContext() throws Exception {
Properties props = new Properties();
// build the URL to the applet host and...
String host = getCodeBase().getHost();
return new InitialContext();//no args
}//getinitalcontext
This uses the appser-rt.jar and j2ee.jar files so I can use the no
argument InitialContext. The trouble is, I don't know how to disconnect
from the server, since I don't explicitly connect to it myself. Can you
simply remove the IIOP listener somehow or do you have to use RMI in
some way?
Thanks
--
Jeffrey Spoon