Difference between revisions of "Teams Winter 2011/team2/project"

From CDOT Wiki
Jump to: navigation, search
(Created page with '=Tutorial= In this tutorial, we will be elaborating on how to replicate our OSGI project application. We will provide a brief explanation of each plug-in project needed, the pack…')
 
Line 3: Line 3:
  
 
=Project=
 
=Project=
For this project,  we are going to create a weather service program using the osgi framework.
+
For this project,  we are going to create a weather service program using the osgi framework. This project will contain three bundles: Consumer, Interface and Provider bundles. The Interface bundle will contain a set of interface and classes used by both Consumer and Provider. The Provider bundle will provide a service to return weather information for a selected city. The Consumer bundle will use the service reference to get weather information from the Provider and display in a GUI window based on Java Swing Library.
  
 
==Prerequisites==
 
==Prerequisites==
 
*Download [http://www.eclipse.org/downloads/packages/eclipse-classic-362/heliossr2 Eclipse]
 
*Download [http://www.eclipse.org/downloads/packages/eclipse-classic-362/heliossr2 Eclipse]
*Install OSGI plug-in
+
 
 +
 
 +
==Steps==
 +
# In Eclipse, create a new workspace.
 +
# Create a new Plug-in project, name it Interface.

Revision as of 16:21, 16 April 2011

Tutorial

In this tutorial, we will be elaborating on how to replicate our OSGI project application. We will provide a brief explanation of each plug-in project needed, the packages that corresponds to those projects, and of course the java source files that will be used to create the program.

Project

For this project, we are going to create a weather service program using the osgi framework. This project will contain three bundles: Consumer, Interface and Provider bundles. The Interface bundle will contain a set of interface and classes used by both Consumer and Provider. The Provider bundle will provide a service to return weather information for a selected city. The Consumer bundle will use the service reference to get weather information from the Provider and display in a GUI window based on Java Swing Library.

Prerequisites


Steps

  1. In Eclipse, create a new workspace.
  2. Create a new Plug-in project, name it Interface.