Jun Hong<br />SCJP, SCJD, SCWCD, SCEA<br />IBM Certified Systems Expert(V4.0)
Originally posted by daman sidhu:
The code for looking up is as follows :
Hashtable hash=new Hashtable();
hash.put(Context.INITIAL_CONTEXT_FACTORY,"com.ibm.ejs.ns.jndi.CNInitialContextFactory");
hash.put(Context.PROVIDER_URL,"iiop://mc-name:900");
Context ctx=new InitialContext(hash);
SCJP Java 2 - IBM Certified Enterprise Developer - WebSphere V4.0 & V5.0 - IBM Certified System Administrator - WebSphere Network Deployment V6.0 - Canadian Securities Course (CSC) Certification
Originally posted by lisa:
in fact you can apply this technique to any problem you may face in your life.
it is based on an ancient chinese wisdom which has made them(the chinese) a force to reckon with today. it goes by the name San-Chu, must have heard about it.(making a lot of news these days)
lisa
SCJP Java 2 - IBM Certified Enterprise Developer - WebSphere V4.0 & V5.0 - IBM Certified System Administrator - WebSphere Network Deployment V6.0 - Canadian Securities Course (CSC) Certification
Kyle Brown, IBM Fellow, CTO for the IBM CIO Office, Author of Cloud Application Architecture Patterns, The Cloud Adoption Playbook, and many more. See my homepage at http://www.kyle-brown.com/ for the latest updates.
Kyle Brown, IBM Fellow, CTO for the IBM CIO Office, Author of Cloud Application Architecture Patterns, The Cloud Adoption Playbook, and many more. See my homepage at http://www.kyle-brown.com/ for the latest updates.
Simon Song
Certified Entperise Developer of Websphere
Consider Paul's rocket mass heater. |