com.ibm.websphere.samples.technologysamples.basiccalcclient
Class BasicCalculatorClientJ2EE

java.lang.Object
  extended by com.ibm.websphere.samples.technologysamples.basiccalcclient.common.BasicCalculatorClient
      extended by com.ibm.websphere.samples.technologysamples.basiccalcclient.BasicCalculatorClientJ2EE

public class BasicCalculatorClientJ2EE
extends BasicCalculatorClient


Nested Class Summary
 
Nested classes/interfaces inherited from class com.ibm.websphere.samples.technologysamples.basiccalcclient.common.BasicCalculatorClient
BasicCalculatorClient.CalcException_DivideByZero, BasicCalculatorClient.CalcException_InvalidOperation, BasicCalculatorClient.CalcException_NotInitialized
 
Field Summary
 
Fields inherited from class com.ibm.websphere.samples.technologysamples.basiccalcclient.common.BasicCalculatorClient
bc, bcHome
 
Constructor Summary
BasicCalculatorClientJ2EE()
           
 
Method Summary
 void init()
          Initializes the BasicCalculatorClient by establishing a connection to the remote EJB's using the java:comp namespace that the J2EE Appliation Client Container provides.
 
Methods inherited from class com.ibm.websphere.samples.technologysamples.basiccalcclient.common.BasicCalculatorClient
calculate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicCalculatorClientJ2EE

public BasicCalculatorClientJ2EE()
Method Detail

init

public void init()
          throws javax.naming.NamingException,
                 javax.ejb.CreateException,
                 java.rmi.RemoteException
Initializes the BasicCalculatorClient by establishing a connection to the remote EJB's using the java:comp namespace that the J2EE Appliation Client Container provides.

Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException