![]() | Programming Guide | ![]() |
Instantiating an object
int sm_obj_create(char *object);
object- The service component to instantiate.
COM, EJB, Java
sm_obj_createinstantiates a service component regardless of whether it is deployed using COM, EJB or Java technologies. Before invoking this function, you must set thecurrent_component_systemapplication property in order to select the type of components to create:PV_SERVER_COMfor COM components,PV_SERVER_EJBfor Enterprise JavaBeans deployed in a JEE Application Server, such as IBM's WebSphere Application Server, orPV_SERVER_JAVAfor Java Objects.The argument to
sm_obj_createmay contain a comma separated list of parameters that is specific to the component system being used. Whensm_obj_createis called from JPL, these embedded parameters should be passed as separate parameters tosm_obj_create.