Look around page 54 of the EJB 1.1 specification. Reading that chapter should fill you in pretty well...
It will basically go:
// first set up a properties to correctly get an initial context
//(the details are dependent on your app server)
InitialContext initContext = new InitialContext(properties);
Object ref = initContext.lookup("someJndiName");
MyHome home = (MyHome) PortableRemoteObject.narrow(ref, MyHome.class);
MyEJB ejb = MyHome.create();
Kyle
------------------
Kyle Brown,
Author of
Enterprise Java (tm) Programming with IBM Websphere See my homepage at
http://members.aol.com/kgb1001001 for other WebSphere information.