Skip to main content

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.

Jump to: navigation, search

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

  1. Start the Eclipse Workbench IDE v3.2
  2. Create a new plug-in project
    1. Open the File menu
    2. Select New
    3. Select Project
    4. Select Plug-in Project
    5. Button Next
    6. Enter project's name
    7. Ensure the Target Platform is Eclispe version 3.2
    8. Button Next
    9. Enter the plugin's properties
    10. uncheck the box for "This plug-in will make contributions to the UI"
    11. Complete the remaining steps of the wizard

Register OSGi Services

  1. Edit the plug-ins Activator
  2. Update the start(...) method to register the service(s)
    1. Service registration is done via the bundle's context
      1. ServiceRegistration srvRegistration = context.registerService(...)
  3. Update the stop(...) method to unregister the service(s)
    1. srvRegistration.unregister();

Back to the top