There is a great article over at Ajaxian on programming for the Nintendo Wii. I bought a Wii myself a few weeks back and have been having great fun with Tiger Woods golf. (It is actually my first game console) Up until down the idea of playing a game console alone did not appeal to me but the Nintendo Wii experience is amazing.
The Wii console connects to the controller or Wiimote via bluethooth and uses an accelerometer built into the wiimote to detect the location of the wiimote as well as it’s acceleration. This leads to a really interactive experience for the user.
I have been amazed by responsiveness of the Wiimote and now Dion Almaer and Ben Galbraith over at Ajaxian have developed an Ajax app that uses Wiiusej to interact with the Wiimote. The Wiiusej API is a java wrapper for the C based Wiiuse library.
We then wrote a Java class that acts as a state machine for what the remote is doing. It understands the movements, which buttons are pushed, how fast you are moving the device. With this data we could build a simple darts game. With the state machine Java code, and an Applet wrapper that exposed the information, we were ready to get to the Ajax side of the house.
I came across this great site via DZone. The site provides a great overview of the Gang of Four patterns as well as J2EE patterns with UML diagrams and sample code for each one. Here what the author, Andre Mare wants to get from the blog.
Java Design Concepts will provide information [...]
Posted on April 11th, 2008 by Stephen Downey
Filed under VRT | No Comments
In July of 2008 the Irish government intend to change the way it determines the amount of tax to pay to register a car in Ireland. The old model was based on the size of the engine while the new model will be based on the Co2 emissions from the car. The same [...]
Posted on April 8th, 2008 by Stephen Downey
Filed under java | No Comments
Well now you can….
Google just launched a preview of their app enigne. You can read all about it here.
With Google App Engine, developers can write web applications based on the same building blocks that Google uses, like GFS and Bigtable. Google App Engine packages those building blocks and provides access to scalable infrastructure that [...]
Jakub Korab of the Dublin Java users group raises some good arguments about agencies updating a CV before submitting it to an employer.
The logic being that the agency does not want the employer to contact me later on without them involved. While I appreciate the logic behind the practice, and have no problem [...]
…then check out iWebMVC.
I came across this framework during the week via Ajaxian. It provides an end to end solution with all of the plumbing in place for DWR, Dojo, Spring and Hibernate/JPA. This is a great place to start for someone that wants to get up and running fast with inner plumbing in [...]
Here are some handy plugins for Eclipse that I came across via an IBM Developerworks article by Paul Duvall.
CheckStyle: For coding standardsPMD's CPD: Enables discovering code duplicationCoverlipse: Measures code coverageJDepend: Provides dependency analysisEclipse Metrics plugin: Effectively spots complexity
I have used the Checkstyle plugin for a few years now and found it extremely useful. In [...]
I came across an interesting article by Masayuki Otoshi via Java World that discusses how to execute process definitions on the client side rather than the server side. This can come into play when making AJAX calls. As AJAX is Asynchronous, it is not possible to predict the order that your callback methods will be [...]
Google have just released AJAXSLT.
…an implementation of XSL-T in JavaScript, intended for use in fat web pages, which are nowadays referred to as AJAX applications.
I'm looking forward to playing around with this. I have being doing a lot of work with XSLT lately so it will be interesting to see how Google have married [...]