Edy,
Actually I have a session bean deployed on Websphere and thin client which communicates with the bean from the
IDE(WSAD).
Here is a code on the client:
java.util.Properties properties = new java.util.Properties();
properties.put(javax.naming.Context.PROVIDER_URL,
"iiop://servername:900");
properties.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,
"com.ibm.websphere.naming.WsnInitialContextFactory");
javax.naming.InitialContext initialContext =new javax.naming.InitialContext(properties);
Object objRef = initialContext.lookup("calculator");
CalcHome home = (CalcHome) PortableRemoteObject.narrow(objRef,CalcHome.class);
Calc calculator = home.create();
result=calculator.compute();
Do you think it is good idea to deploy Calculator as a separate application or it should be part of another application?