Hi Bob,
Since it's a EJB 2.1 bean, you need to narrow it first from corba object:
Object obj = PortableRemoteObject.narrow(ctx.lookup("ejb/UserAdmin/UserBean), UserSessionHome.class);
UserSessionHome home = (UserSessionHome) obj;
This has been simplified in EJB 3.
-cheng
[Message sent by forum member 'cf126330' (cf126330)]
http://forums.java.net/jive/thread.jspa?messageID=250580