Category Archives: java

Java 5 Enums Are Cool!

Java 5 enums are powerful things. Anytime you need a limited list of values, you should consider an enum class (versus a String or int). Java 5 enums can have methods as well, which leads to some powerful combinations.

Posted in java, programming, work | Tagged , | Leave a comment

Compiling JSPs in Tomcat

For some time now, I’ve been working with Spring MVC and Spring Web Flow to build web applications. One option that Spring MVC (and Web Flow by extension) offer is a view resolver that allows you to hide your JSP … Continue reading

Posted in java, spring-framework, web | Leave a comment

Working with JAR files in Maven

Apache Maven has become my build tool of choice at work. It seems that nearly every week I learn how to do something new with Maven (part of this is my inexperience, part is the plethora of awesome plug-ins). I’ve … Continue reading

Posted in java, maven, work | Leave a comment

SLF4J

One of the dependencies for dbUnit on it is SLF4J (a.k.a. the Simple Logging Facade for Java).  SLF4J aims to be a wrapper replacement for Java Commons Logging similar to Log4j.  The biggest bonus for using SLF4J is the fact … Continue reading

Posted in java, work | Leave a comment

Archetyping with Maven

These past two weeks have seen some quality time spent with Apache Maven.  I spent a few days figuring out how to create a custom project archetype in order to streamline project creation in my department. Why Maven? I developed … Continue reading

Posted in best-practices, java, programming, subversion | Leave a comment

13949712720901ForOSX

Count me in! OSX needs better Java support. First class citizenship for everyone! see here for details

Posted in apple/mac/ipod, java, politics/government, programming, technology, web | Leave a comment

Those Interface21 Folks Are Smart!

At work we’ve been doing a lot of Java code and I’m knee-deep in SpringMVC. I really like how Spring does its validation (you create a separate validator class for a class you want to ensure is good for processing). … Continue reading

Posted in java, programming, spring-framework | Leave a comment

Java + Dates + Localization = Headaches!

Recently at work I’ve been diving into development with the Spring framework in the Java language. It’s a nice way to work for the most part but it’s been a while since I did any rigorous Java development (okay, okay, … Continue reading

Posted in best-practices, java | Leave a comment