Changes

Jump to: navigation, search

Sudoku Generator (Example for the OSGi Lab)

20 bytes added, 19:38, 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">
package ca.on.senecac.scs.sudoku;
}
</source>
 <h6> 1.2 Define the MANIFEST.MF for the service</h6> 
<source lang="xml">
Manifest-Version: 1.0
Export-Package: ca.on.senecac.scs.sudoku
</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">
package ca.on.senecac.scs.sudoku.provider;
}
</source>
 <h6> 2.2 Create SimpleSudokuGenerator.java</h6> 
<source lang="java">
package ca.on.senecac.scs.sudoku.provider.internals;
}
</source>
 <h6> 2.3 Create Grid.java</h6> 
<source lang="java">
package ca.on.senecac.scs.sudoku.provider.internals;
63
edits

Navigation menu