Wednesday, November 21, 2007

Looking Up an Object from the Naming Service

This example looks up an object from the naming service.
try {
Object obj = ctx.lookup("Sample");
} catch (NamingException e) {
}

No comments: