Difference between revisions of "OSGi : Lab Fall2011"

From CDOT Wiki
Jump to: navigation, search
(Lab1 - Fall 2011)
 
(Fall 11 - Lab 1)
Line 1: Line 1:
 
Here is the solution for your OSGi - First Lab
 
Here is the solution for your OSGi - First Lab
  
1. Create a Swing application (Java code)
+
1. Create a Swing application [https://cs.senecac.on.ca/~jordan.anastasiade/ECL/CourseContent/L2/Code/X.zip (Java code)]
  
 
2. Develop a bundle that uses the Swing and export its packages  
 
2. Develop a bundle that uses the Swing and export its packages  
Line 8: Line 8:
 
3. Develop a bundle that uses the bundle created in the second step.
 
3. Develop a bundle that uses the bundle created in the second step.
 
The activator start method creates the Swing frame and the stop method closes it.
 
The activator start method creates the Swing frame and the stop method closes it.
 +
 +
[https://cs.senecac.on.ca/~jordan.anastasiade/ECL/CourseContent/L2/Code/ECL-Lab1.zip The code for the ECL-Lab1 is here]

Revision as of 21:16, 27 September 2011

Here is the solution for your OSGi - First Lab

1. Create a Swing application (Java code)

2. Develop a bundle that uses the Swing and export its packages (this bundle does NOT need an activator).

3. Develop a bundle that uses the bundle created in the second step. The activator start method creates the Swing frame and the stop method closes it.

The code for the ECL-Lab1 is here