Open main menu

CDOT Wiki β

Changes

Sudoku Generator (Example for the OSGi Lab)

734 bytes added, 18:52, 13 February 2011
Created page with '== Sudoku Generator (Example for the OSGi Lab) == This is my first attempt to build a simple Java application using the OSGi framework. Some time ago I wrote a Sudoku Generator …'
== Sudoku Generator (Example for the OSGi Lab) ==
This is my first attempt to build a simple Java application using the OSGi framework.

Some time ago I wrote a Sudoku Generator program using BASH version 4. You can find the code on my blog at [http://selmys.wordpress.com/ selmys.wordpress.com]. I've chosen this same example to rewrite in Java/OSGi.

Yes, I know my code (and lack of documentation) is sloppy. That's because I tried to focus on trying to figure out what goes into each bundle. I'm sure I got many things wrong but on the positive side, the code works and actually generates a 9x9 Sudoku puzzle, albeit on the console in text mode. Perhaps in the future I'll produce a GUI output - or maybe someone can do it for me?
63
edits