J-Integra® Espresso Programming Documentation (API) |
|
J2eeEasyContext.Init Method
Initializes the CORBA runtime, and sets up the ORB, RootPOA, and NamingService
Initial Conext, so that developers can quickly start looking up and registering
remotable objects.
void Init();
Parameters
- qc
-
J2eeQuickConfig configuration class containing the desired J2EE Runtime
Parameters of the system. See Ics.J2EE.J2eeQuickConfig
for details
- orb
-
An already initialized orb. For VERY advanced users who want to set up a
custom orb via Ics.CORBA._ORB.Init, but
still want to use the convience methods found in this class.
Return Value
none
Remarks
Calling
Init() with no parameters will draw runtime configuration data
from the application's app.config file. This allows creation of dynamic code
that can be deployed anywhere with just a few simple configuration changes.
Refer to product documentation on using the Grinder config tool to set these
settings. Use the J2eeQuickConfig class to dynamically change the settings at
runtime.
Exceptions
none
See Also
J2EE Config | J2EE
Namespace