J-Integra® Espresso Programming Documentation (API)

J2eeQuickConfig Class

Provides a simple and easy way for developers to connect with a variety of different application servers. Out of the box support exists for:

a. Weblogic (unsecure/SSL/TLS)

b. WebSphere (unsecure/SSL/TLS)

c. JBoss (unsecure) and

d. Generic Sun RMI-IIOP Naming Service (orbd)

To attach to another Application Server/CORBA Naming service, just call the SetNamingServiceURI and enter the corbaloc where the Naming Service resides.

Note: The runtime is smart enough to figure out if a SSL/TLS session is required based upon the corbaloc URI.

Examples:

To connect to Weblogic, on machine X, using TLS, with no certtificate validation:

J2eeQuickConfig qc = new J2eeQuickConfig(ApplicationServer.WEBLOGIC, "machineX");

qc.UseSecureConnection(SecureConnectionType.TLS);

J2eeEasyContext.Init(qc);

To connect to Generic Sun RMI-IIOP on localhost:

J2eeQuickConfig qc = new J2eeQuickConfig(ApplicationServer.SUN_JDK_RMI_IIOP);

J2eeEasyContext.Init(qc);

To connect to CORBA Naming Service with a corbaloc of: corbaloc:iiop:1.2@machineX:2345/SomePath/NamingService :

J2eeQuickConfig qc = new J2eeQuickConfig();

qc.SetNamingServiceURI("corbaloc:iiop:1.2@machineX:2345/SomePath/NamingService");

J2eeEasyContext.Init(qc);

 

List of members: J2eeQuickConfig Members.

System.Object
 J2eeQuickConfig

public class J2eeQuickConfig

Requirements

Namespace: Ics Namespace

Assembly: Jintegra.Espresso.dll

See Also

J2eeQuickConfig Members | Ics.J2EE Namespace