Monday, November 26, 2007

Using a URL as a Name to the Initial Context

This example looks up an object from the naming service by using a URL as a name.
try {
Object obj = new InitialContext().lookup("iiop://localhost/Sample");
} catch (NamingException e) {
}

No comments: