Open main menu

CDOT Wiki β

Changes

Sudoku Generator (Example for the OSGi Lab)

44 bytes removed, 19:52, 13 February 2011
Design and Implementation
First, let me say that I followed Jordan's Voting System example, for both the code as well as the writeup on this wiki.
<h4> 1. Define the Service </h4>
Create the bundle ''ca.on.senecac.scs.sudoku''
<h6> 1.1 Create SudokuGenerator.java </h6>
<source lang="java">
</source>
<h6> 1.2 Define the MANIFEST.MF for the service </h6>
<source lang="xml">
</source>
<h4> 2. Define the Service Provider </h4>
Create the bundle ''ca.on.senecac.scs.sudoku.provider''
<h6> 2.1 Create SudokuActivator.java </h6>
<source lang="java">
</source>
<h6> 2.2 Create SimpleSudokuGenerator.java </h6>
<source lang="java">
</source>
<h6> 2.3 Create Grid.java </h6>
<source lang="java">
</source>
<h6> 2.4 Define the MANIFEST.MF </h6>
<source lang="xml">
</source>
<h4> 3. Define the Service Consumer </h4>
Create the bundle ''ca.on.senecac.scs.sudoku.client''
<h6> 3.1 Create ClientActivator.java </h6>
<source lang="java">
</source>
<h6> 3.2 Define the MANIFEST.MF </h6>
<source lang="xml">
</source>
<h4> 4. Configure the Sudoku Generator for running as an OSGi Implementation in the Eclipse Equinox container. Then run the application. </h4>
Note: In the console window you should see a valid Sudoku Puzzle printed out.
63
edits