|
Apply Jndi
....................
Properties prop = new Properties();
prop.setProperty(Context.PROVIDER_URL,"iiop://localhost:9081");
prop.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jmin.name.JminClientNameContextFactory");
Context ctx = new InitialContext(prop); ..................
 |
Copyright © 2006 . All Rights Reserved. |
|