Creating an OSGi-enabled WebApp Component

Procedure

  1. Create an empty SOA project as described in Creating an SOA Project.
  2. Create an empty WebApp component as described in Adding an Empty WebApp Component.
  3. In the Properties tab, select Plugin Project.
  4. Select the WebApp component created, right-click, and select Generate Servlet Implementation. After the implementation is generated successfully, the:
    • Plugin Project and Deployment Descriptor (web.xml) File fields are populated.
    • Implementation bundle includes the web.xml file (see the Project Explorer view).
    • MANIFEST.MF file is created (see the Project Explorer view).