File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes WebSphere 5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "WebSphere 5" Watch "WebSphere 5" New topic

WebSphere 5

Shiraj RM

Joined: Mar 15, 2005
Posts: 4

Hashtable env = new Hashtable();
env.put(Context.PROVIDER_URL, "java:<port>");
Context ctx = new InitialContext(env);
//look up jndi name
Object ref = ctx.lookup("Converter");
//look up jndi name and cast to Home interface
converterHome = (ConverterHome) PortableRemoteObject.narrow(ref, ConverterHome.class);

normally do you use the admin port 9090 or the sample application port 8090 ?
Shailesh Chandra
Ranch Hand

Joined: Aug 13, 2004
Posts: 1082

Gravitation cannot be held responsible for people falling in love ~ Albert Einstein
I agree. Here's the link:
subject: WebSphere 5
It's not a secret anymore!