Create Server Application

Step 1: Create Plug-in

Assuming you are already familiar with creating plug-in projects within the PDE/IDE...

Step 2: Create OSGi Application

Create Application Extension

Implement Application Lifecyle

At this point, the shell of the OSGi server application class has been created. By extending AbstractServerApplication, several interfaces require implementation. Most of generic functionality is provided by AbstractServerApplication. However your OSGi server application requires customer start() and stop() handling.

Implement start()

Implement stop()

Step 3: Start OSGi Server Application

Autostart When Corona Starts

To have the OSGi server application automatically start when the Corona server is started, add the name of the application to the osgi.applications property defined in config.ini

Start within IDE Run/Debug Launch