Posted By:
A_S
Posted On:
Wednesday, February 12, 2003 06:47 AM
Hello,
Below is the code we have for the NamingContext. We need to create a non-context object and link it up to LecturerCtx. If anyone has any ideas, please help....
Thanks
NamingContext LecturerCtx = NamingContextHelper.narrow(objRef);
NameComponent lecturer = new NameComponent("lecturer", "context");
NameComponent [] name1 = {lecturer};
LecturerCtx = rootCtx.bind_new_context(name1);
System.out.println(" name1:" + name1);