## Lifecycle States Within the JBI Environment

Service Assemblies and Components have lifecycle states that can be managed using the Application Server Admin Console. The lifecycle states of Service Units are managed indirectly through the Service Assembly.

JBI Components and Service Assemblies have the following lifecyle states:

- Started

- Shutdown

- Stopped

The JBI Runtime persists the life cycle states of JBI Components and Service Assemblies. When the application server shuts down and then restarts, JBI Components and Service Assemblies revert to their state at the time the application server shut down.

Note - The JBI runtime attempts to revert to the "desired" state of a JBI Component or a Service Assembly. For example, suppose you tried to start a JBI Component but it did not start due to an error in the component. If you restart the Application Server, the JBI runtime attempts to start the component again.