Initialization

Use the initMethod, one of the container binding fields defined above, to initialize the state on a Service that maintains state. You can also use it for other purposes, such as establishing a database connection. The initMethod is called with the initialization data the first time an Engine processes a request on a Service instance. It is also called prior to an updateState call if it has not already been called.