Category Archives: Java

Java XML data binding with Castor

In working on an XML data feed project at work I needed to generate the feed from our POJO domain model. I was pleasantly surprised to find that Castor XML made this task quite easy. The Marshalling framework will marshall … Continue reading

Posted in Java | Leave a comment

Persistence layer unit testing best practices

I've been doing some searching on best practices for unit testing the persistence layer with DBUnit and I'm interested in people's feedback on my policies or pointers to policies others have created. For example I've been thinking of making our … Continue reading

Posted in Java | Leave a comment

Building one big fat jar file

I've been working on software that generates a very large XML feed for customers. My plan was to have it run by a cron job and regenerate the feed once a week. I wanted my project to produce one file … Continue reading

Posted in Java | 1 Comment

And the best MVC framework is….

Norm Deane is going to be pulling a Matt Raible by reimplementing the same software with all of the major MVC frameworks (Struts, Spring MVC, Webwork, Tapestry, and JSF). I'm excited to see his progress as he writes about it, … Continue reading

Posted in Java | Leave a comment

Maven versus Ant

Almost every new web project starts with writing the Ant code to build a WAR. This build process is duplicated with some variance on every web application project I've ever worked on that uses Ant. We lift our noses when … Continue reading

Posted in Java | Leave a comment

Trails (Tapestry, Spring, XDoclet, and Hibernate) video

Chris has posted a 10 minute video strutting some of the nice features of developing with Trails (built on Ant, Tapestry, Spring, XDoclet, and Hibernate). This was inspired by the now famous Ruby on Rails video. In theory I like … Continue reading

Posted in Java | Leave a comment

Hibernate mapping one class to multiple databases

At work our data is state specific and for each state we have a lot of data. It was decided to create a separate database for each state in MySQL long before I joined the company and now we have … Continue reading

Posted in Java | 1 Comment

Continuous integration with Cruise Control video

Mike Clark made this short quicktime video on continuous integration with Cruise Control. I love these kinds of videos (similar to the Ruby on Rails video) and would like to see more of them.

Posted in Java | Leave a comment

Tackling ORM on existing databases with Hibernate and iBatis

At my company we have 50+ MySQL databases on one server that have the same schema for the purpose of partitioning data (due to the size of each database). The decision goes back before my time and of course there … Continue reading

Posted in Java | Leave a comment

Java based Marine Wireless Navigation Server

I've finally completed a project that I've been thinking/scheming over for a couple of years. The java based Marine Wireless NMEA Navigation Server. Right up there with software engineering, my other really big passion is boats. I love sailing and … Continue reading

Posted in Java | Leave a comment