Feb 26 2010

Spring 3.0 REST Release Update

Published by Tony under Java, REST, Spring

In December 2009 I talked about getting a RESTful web service up and running using Spring 3.0.0.RC3. Since then Spring has had 3.0.0.RELEASE and 3.0.1.RELEASE. One of these releases caused my code example from this post to fail, so I’ve re-worked it and tested with Spring 3.0.1.RELEASE. Continue Reading »

No responses yet

Feb 01 2010

Who’s Going to Google I/O 2010

Published by Tony under Random

I just registered for Google I/O. Who else is going? Anyone from the DFW area?

No responses yet

Jan 22 2010

Break the Build? Face the Wrath of Chuck Norris.

Published by Tony under Random

Last week I was looking for a Hudson plugin that would hot deploy a web application to a remote container. In the process I managed to find several other useful and, admittedly, fun plugins.
Continue Reading »

No responses yet

Dec 01 2009

Spring 3.0 RESTful Web Services By Example

Published by Tony under Java, REST, Spring

Update:See this post for an updated code example that works with Spring 3.0.1.RELEASE.

If you’re reading this then you’re probably aware that the new Spring 3.0 release will have REST support (If you’re not familiar with REST here is a nice intro).  In this article I’m going to describe the basic steps required to quickly get a RESTful XML web service going using the latest Spring 3 release candidate (3.0.0.RC3).  In future follow-up articles I will describe how to switch between JSON and XML using selectors and how to use the Spring REST Template to read RESTful web services.
Continue Reading »

11 responses so far

Nov 27 2009

Closures Are in Again

Published by Tony under Java, News

According to Sun, the controversial language feature, Closures, that was previously removed from the JDK 7 feature list has now been added in again (via).  I’m looking forward to the JSR on this one.  While I can’t see it being more elegant that using Scala, it will definitely make certain algorithms much nicer to implement in Java.

No responses yet

Jul 24 2008

Useful Java Utilities and Frameworks

Published by Tony under Java

There are so many useful Java frameworks and utilities out there that are free and open source that it boggles the mind. Here are a few of my recent favorites. Feel free to add your own to the list. There are many many more that I did not add to this list because they are very common (e.g. log4J, JUnit, etc.)
Continue Reading »

3 responses so far

Apr 08 2008

Using Apache Commons DBUtils and DBCP

Published by Tony under Java

For a project recently, I had the pleasure of working with both DBUtils and DBCP (Database Connection Pooling) from the Apache commons libraries. Both of these libraries together helped me to quickly create a simple, extensible DAO layer for my project. Both libraries include some great default features that I used right out of the box, without any configuration or fuss. In the post I’ll be talking about, and showing an example of using DBUtils. I will also show a quick and easy way to get a DataSource using DBCP.
Continue Reading »

No responses yet

Feb 22 2008

How Jim Blandy Pronounces “Subversion”

Published by Tony under Oddities

Found this by accident and thought it was hilarious. :)

How to Pronounce “Subversion”

No responses yet

Dec 21 2007

Using the New java.io.Console Class

Published by Tony under Java

The 1.6 release of the JDK included a new java.io.Console class, which adds some new features to enhance and simplify command-line applications. Notably, Console includes a method specifically for reading passwords that disables console echo and returns a char array; both important for security.
Continue Reading »

10 responses so far

Dec 21 2007

JavaOne: Is it worth the cost?

Published by Tony under Random

I’ve always thought it would be cool to attend a JavaOne conference for a day or two. Unfortunately the location and costs have always deterred me. So, I’m wondering: Is it worth the cost of registration, the cost of a cross-country flight, and potential missed work? If you’ve been in the last few years, I’d like to hear your experiences and your feedback regarding the quality of the content. Thanks.

3 responses so far

Next »