Tictactoe is a project mainly written in Java, it's free.
Play Tic Tac Toe Against Google App Engine
A app for Google App engine that will allow the user to play tic tac toe against a computer. The AI is done serverside with an AJAX call.