jfalkner's blog
Lazy coder's mapping of DNS prefix to a sub-directory in a web application.
The Servlet specification provides a really elegant mechanism for packaging up a whole website in to a single WAR file and deploying that file as a website. Multiple websites can be mapped to different domain name prefixes, such as 'www.proteomecommons.org' versus 'tranche.proteomecommons.org'.
Controlling Lego Mindstorms with Java (Lejos)
I just had the chance to play around with Bryan E. Smith's Lego Mindstorms robotics kit. We installed Lejos and I was coding programs directly from Netbeans. It was a lot of fun and surprisingly easy to use Java to control the robot.
Java and the Nokia n810
The Nokia n810 is pretty fantastic, but I'll let you look that up elsewhere. Plenty of places do a good job showing it off. I'll focus on how easy it was to set up and make a graphical Java program.
Building a Java applet-based game -- why don't we see more of them?
My brother and I decided to try and make a viral video game. The sort of game that can suck hours away from your life. The type of game that passes the boring times at work. The type of game that normally seems to be coded in Flash/ActionScript....
MEM Java Fun
Blarg#27: Don't use finalize() as your only teardown method.
In short, don't rely on the finalize() method as your only cleanup method, especially if it is deleting files. Instead make up a cleanup method (cleanup() works nicely) that lazy deletes things. Here is an example.
Blarg #26: Latest Java 6 snapshot fixes xgl/Compiz rendering problems
I just installed xgl/Beryl and am loving it; however, I noticed that Swing apps don't render. Sun has the bug report and the fix, but you have to download the latest Java binaries to get it.
Download Java 6u1 or better:
http://download.java.net/jdk6/binaries/Now go enjoy that sweet Linux eye candy...Beryl baby, burn.
Apple: Java, JDBC, and JSP Course
This is a blog page for the folks at Apple in Sacramento. We had a good time talking about Java, and here are some of the things that we've done.
Interesting Links and Info
Blarg #25: A JSP that shows Request Headers
This code as been shown many times before, including in my book. This is exactly what the title says: a JSP that will display the request headers sent by your browser. It is also a good example of how to use the JSP EL and the JSTL core tags to make an incredibly simple JSP.
PWC Java Course 06/12/06
This is reference page for the Java course I taught for PWC. We'll put links and notes here for things that we talk about in the course. You can also leave comments for anything that I miss.
Links for the tools that we use.





