Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Corona Development SOA Steps
Corona enables Eclipse developers to use the same Eclipse plug-in model to create server-side deployable components. These components can be exposed as Corona SOA components by following these steps.
Create Eclipse Plugin
- Start the Eclipse Workbench IDE v3.2
- Create a new plug-in project
- Open the File menu
- Select New
- Select Project
- Select Plug-in Project
- Button Next
- Enter project's name
- Ensure the Target Platform is Eclispe version 3.2
- Button Next
- Enter the plugin's properties
- uncheck the box for "This plug-in will make contributions to the UI"
- Complete the remaining steps of the wizard
Register OSGi Services
- Edit the plug-ins Activator
- Update the start(...) method to register the service(s)
- Service registration is done via the bundle's context
- ServiceRegistration srvRegistration = context.registerService(...)
- Service registration is done via the bundle's context
- Update the stop(...) method to unregister the service(s)
- srvRegistration.unregister();