Starting eXtreme Scale servers using the Eclipse Equinox OSGi framework
WebSphere® eXtreme Scale container servers can be started in an Eclipse Equinox OSGi framework using several methods.
Before you begin
- The WebSphere eXtreme Scale server bundle must be installed into Eclipse Equinox.
- Your application must be packaged as an OSGi bundle.
- Your WebSphere eXtreme Scale plug-ins (if any) must be packaged as an OSGi bundle. They can be bundled in the same bundle as your application or as separate bundles.
- If your container servers are using IBM® eXtremeMemory, you must first configure the native libraries. For more information, see Configuring IBM eXtremeMemory.
About this task
- OSGi Blueprint service
You can include all configuration and metadata in an OSGi bundle. See the following image to understand the Eclipse Equinox process for this method:
- OSGi Configuration Admin service
You can specify configuration and metadata outside of an OSGi bundle. See the following image to understand the Eclipse Equinox process for this method:
- Programmatically
Supports customized configuration solutions.
In each case, an eXtreme Scale server singleton is configured and one or more containers are configured.
You can use eXtreme Scale support for Spring namespace to configure eXtreme Scale container servers in a Blueprint XML file. When the server and container XML elements are added to the Blueprint XML file, the eXtreme Scale namespace handler automatically starts a container server using the parameters that are defined in the Blueprint XML file when the bundle is started. The handle stops the container when the bundle is stopped.
To configure eXtreme Scale container servers with Blueprint XML, complete the following steps: