Activate your free membership today | Log-in

Wednesday, April 19th, 2006

Porting Spring Sudoku to Ajax

Category: Games, Java

<p>Glen Smith explains how easy it was to refactor his Java-Spring Sudoku solver to use Ajax.

I’ve added Ajax goodness to my little Spring-powered Sudoku solver. And it was a total snack. You can double click on individual cells to solve just that square, or use the “Solve” button to solve the whole puzzle. You could probably write a better one entirely in Javascript (other people have), but it does serve as a great example of using Spring IoC, AOP, ORM, and Unit testing support … Check it out (source available here soon).

Related Content:

  • Ajax help from Spring and TIBCO
    For users, Ajax means a cool interface, but for developers, Ajax means a lot of extra work. There may be a solution to that problem with Spring and...
  • New Wicket leverages Ajax for Java
    The Wicket project has released Wicket 1.2, a Java component based Web application framework that leverages Ajax. The software available under the...
  • Chaos impresses the Microsoft judges
    Sudoku Chaos, by Glen Reid, was one of 10 finalists in Microsoft's DesignIT...
  • Ajax features added to MyEclipse
    Genuitec LLC. announced the release of the commercial MyEclipse 6.0, offering advanced features including Ajax development and testing tools and...
  • Ajax for Java
    DWR 1.0, designed to allow for easier Ajax development inside Java, has been released with remote JavaScript calls into Java, automatic JavaScript...

Posted by Michael Mahemoff at 8:24 am
5 Comments

+++--
3.6 rating from 12 votes

5 Comments »

Comments feed TrackBack URI

[...] Il fallait que ça arrive… une version de Sudoku avec la technologie Ajax. (via Ajxian) [...]

Pingback by untereiner.com » Blog Archive » sudoku kezako? — April 19, 2006

I’m not 100% convinced that sudoku solver is correct. Take the following solution I generated by hitting Get A Puzzle then Solve:

Not convinced it’s adhering to the “digits must be unique in each row, cell and column” rule — and if it’s not adhering to *that*, which is almost the only rule of Sudoku, how can one call it a Sudoku solver?

Comment by Chris Purcell — April 20, 2006

Ah, the image tag was stripped, despite being preserved in the Preview. Anyway, the image is at http://www.srcf.ucam.org/~cjp39/sudoku-broken.gif

Comment by Chris Purcell — April 20, 2006

[...] Il fallait que ça arrive… une version de Sudoku avec la technologie Ajax. (via Ajaxian) [...]

Pingback by untereiner.com » Blog Archive » sudoku kezako? — July 6, 2006

hmm.. Spring powered sudoku.. I guess you must be using Java then.. well I wrote a Sudoku solver in php.. It is hosed at http://www.sudoku-solver.net .. I wish I had used cakephp..

Comment by codeshepherd — March 19, 2008

Leave a comment

You must be logged in to post a comment.