Creating an OSGi bundle project for eXtreme Scale grid development

To use Eclipse as the development environment for your WebSphere® eXtreme Scale servers in the Liberty profile, you must create an Eclipse project within the supported Open Services Gateway initiative (OSGi) framework.

Procedure

  1. Create the OSGi bundle project in Eclipse.
    1. Click File > New > Project. The "Select a wizard" window is displayed.
    2. Expand the WebSphere eXtreme Scale folder, and select the Object grid project. The "Object grid project" window is displayed.
    3. Click Add, and enter a backing map name to add the object grid map for which you want to complete development activities. You can enter multiple maps on this page. Click Next.
    4. Specify object grid parameters for each map that you entered. Click Next.
    5. Specify the deployment parameters, and click Finish.
    The OSGi bundle project is created, and you can access eXtreme Scale APIs to complete development activities in the Liberty profile. The bundle includes the gridBlueprint.xml file. This file includes the location of the eXtreme Scale configuration files, objectGrid.xml and gridDeployment.xml. These configuration files include the map or maps that you created in the step c.
  2. Export the bundle project, and place the bundle in the grids folder. You must export the project to deploy eXtreme Scale applications in the Liberty profile. When you export the project, it is exported as a bundle Java™ archive (JAR) file to the Liberty_profile_Server_Definition/grids folder, which you must manually create before you export the bundle.
    1. Right-click the project that you just created, and select Export > OSGi Bundle or Fragment. The OSGi Application Export window is displayed.
    2. Specify where you want to export the bundle JAR file. Click Finish.