Category Archives: Java

MongoDB and Java: Find an item by Id

MongoDB is one of a number of new databases that have cropped up lately eschewing SQL. These NoSQL databases provide non-relational models that are suitable for solving different kinds of problems. This camp includes document oriented, tabular and key/value oriented … Continue reading

Posted in Code, Java | Tagged , , | Leave a comment

Struts2 Map Form to Collection of Objects

The Struts2 documentation contains examples that are often basic at best which can make it challenging to figure out how to do things sometimes. I was working on creating a form that would allow me to select values from a … Continue reading

Posted in Code, Java | Tagged , , , , | 5 Comments

Groovy Programming Language

Welcome to the disco era…wait, wrong Groovy. Groovy the programming language is dynamic programming language that runs on the Java Virtual Machine. At a first glance it looks a lot like Ruby, but it’s built from the ground up to … Continue reading

Posted in Code, Java | Leave a comment

Welcome Java 6

With great fanfare, Java 6 was released to the world. Ok, that was a joke. Sun has the ability to make a major release without any fanfare or hullabaloo. Even Spring had a countdown to their 2.0 release. Oh well. … Continue reading

Posted in Code, Java | Tagged | 4 Comments

Hibernate Query Translators

I’ve recently been doing some performance testing and tuning on an application. It makes use of Hibernate for the data access and ORM and Spring to configure and wire together everything. As I was looking at all of the configuration … Continue reading

Posted in Code, Java | Tagged , , , , | Leave a comment

jMock For Mocking Unit Tests

Ok, so I might not exactly be on the cutting edge with this post, but I just started playing with jMock, a framework for creating Mock objects. Mock objects are used to isolate various layers of an application by providing … Continue reading

Posted in Code, Java, Unit Testing | Tagged | Leave a comment

Hibernate HQL And Performance

The Hibernate ORM tool give you the ability to write SQL-esque queries using HQL to do custom joining, filtering, etc. to pull Objects from your database. The documentation gives you a lot of examples of the things you can do, … Continue reading

Posted in Code, Java | Tagged , , , , | 14 Comments

Relentless Build Automation

How far is going to far when you are doing build automation? My answer to that question, is that it’s basically not possible to go to far. Any task that you need to do more than three times deserves automation. … Continue reading

Posted in Automation, Code, Java, Unit Testing | 7 Comments

Continuous Integration Revisited

I had a chance to install and play with JetBrain’s new Team City beta today. Team City at its most basic is a Continuous Integration server. Continuous Integration (CI) systems are used to help manage a team’s software development process. … Continue reading

Posted in Code, Java | Tagged , , , | 3 Comments

Tapestry and Hibernate Take 2

In a previous post I lamented about Tapestry and Hibernate fighting each other. This was very soon after I had started using Tapestry for the first time, and I wanted to talk a little bit more about it now that … Continue reading

Posted in Code, Java | Tagged , , | 1 Comment