Difference between revisions of "Teams Winter 2011/team1/OSGI/Create the Service Interface"
Ladanzahir (talk | contribs) (→1. Create the Service Interface) |
Ladanzahir (talk | contribs) (→1. Create the Service Interface) |
||
Line 6: | Line 6: | ||
:Create a new Plug-in project in eclipse using File>New> Plug-in Project: | :Create a new Plug-in project in eclipse using File>New> Plug-in Project: | ||
:[[Image: 1CreateNewPlugInProject.JPG| 400px]] | :[[Image: 1CreateNewPlugInProject.JPG| 400px]] | ||
− | + | :Give it a proper name and Choose the target platform to be an OSGI platform: | |
− | :[[Image: | + | :[[Image: 2CreateNewPlugInProject.jpg | 700px]] |
:[[Image: 3_CreateNewPlugInProject.jpg | 700px]] | :[[Image: 3_CreateNewPlugInProject.jpg | 700px]] | ||
:[[Image: 4_CreateNewPlugInProject.jpg | 700px]] | :[[Image: 4_CreateNewPlugInProject.jpg | 700px]] |
Revision as of 14:00, 14 February 2011
1. Create the Service Interface
- First thing to do in building an OSGI application is to define the service interface so that the developer who creates the GUI part of application knows what services will be available, and what are their requirements and outcome.In order to do this please follow these steps:
1.1. Define the interface bundle
- Create a new Plug-in project in eclipse using File>New> Plug-in Project:
- Give it a proper name and Choose the target platform to be an OSGI platform:
- 700px
- 700px
- 700px
- 700px
- 700px
- 700px
- 700px
- 700px
- 700px
- 700px
- 700px
- 700px
- 700px
1.2. Create the bundle with the interface