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

Difference between revisions of "OSGI component support in Service Creation"

Line 35: Line 35:
 
== How to create a OSGI service component ==
 
== How to create a OSGI service component ==
 
== How to deploy OSGI component to runtime ==
 
== How to deploy OSGI component to runtime ==
 +
 +
=== Deploy to WTP server ===
 +
=== Deploy using PDE ===
 +
 +
 
== How to test and debug==
 
== How to test and debug==
  
Line 42: Line 47:
 
=== remote console ===
 
=== remote console ===
 
== User Scenario ==
 
== User Scenario ==
 +
 +
== Spring meta data editor ==
 +
The ServiceMix runtime is based on the Spring framework. We should looking into how to help users to create spring  configuration --- a Spring metadata editor. (reuse editor from SpringIDE?)

Revision as of 03:20, 27 December 2007

This wiki is aiming to discuss how to support OSGI based service component development in STP. Johnson Ma, Dec 27, 2007

Introduction

As more and more Middleware servers becomes OSGI based. We need to support users to create service component in the format of OSGI bundle in an Service Oriented Approach.

We will use ServiceMix 4.0 as a reference SOA runtime here, which is based on Apache Felix OSGI implementation.

Existing OSGI tooling

PDE OSGI tooling support

"Eclipse PDE UI also provides comprehensive OSGi tooling, which makes it an ideal environment for component programming, not just Eclipse plug-in development."

Apache Felix integration with Eclipse

Felix integration with eclipse from felix site, is a solution to integrate Felix with Eclipse IDE by

*Check out felix projects into Eclipse workspace
*Add the felix.jar to java project's classpath
*Create java launch config to run org.apache.felix.main

Spring OSGI Eclipse integration

How to create a Spring OSGI bundle proejct in Eclipse

Setting up Eclipse for Spring Dynamic Modules development


Requirements for OSGI tooling from Service Creation point for view

*Replaceable OSGI runtime:Should define extension point to locate osgi runtime
*Easy dependency configuration::Help user to setup dependencies to existing bundle/service loaded in the runtime
*Manifest Editor: user friendly manifest editor following OSGI spec. Try to reuse the Manifest editor from PDE here.
*Run and Debug support::  
*OSGI Console support: should show the osgi console in eclipse 


How to create a OSGI service component

How to deploy OSGI component to runtime

Deploy to WTP server

Deploy using PDE

How to test and debug

OSGI Console in eclipse

local console

remote console

User Scenario

Spring meta data editor

The ServiceMix runtime is based on the Spring framework. We should looking into how to help users to create spring configuration --- a Spring metadata editor. (reuse editor from SpringIDE?)

Back to the top