All Examples All WebLogic Enterprise Connectivity Examples This Package
java.lang.Object | +----examples.wlec.ejb.simpapp.Client
You'll need to add an IIOP pool to your weblogic.properties file:
# Demo IIOP pool weblogic.CORBA.connectionPool.simplepool=\ appaddrlist=//your host name:port # where the simpapp is running,\ failoverlist=//your host name:port # where the simpapp is running,\ minpoolsize=1,\ maxpoolsize=3,\ username=your user name,\ userrole=role of the user,\ domainname=simpappYou'll need to deploy the EJB to your weblogic.properties file:
# Demo ejb deployment weblogic.ejb.deploy=c:/weblogic/classes/wlec_ejb_simpapp.jar
public Client()
public static void main(String args[])
& java examples.wlec.ejb.simpapp.Client WebLogicURL user password
The parameters are optional, but if any are supplied, they are interpreted in this order:
public static Context getInitialContext() throws Exception
All Examples All WebLogic Enterprise Connectivity Examples This Package