May
18
2013
Maybe you work for a company that leaves DB passwords in plaintext in configuration files on their servers. You would probably be among the majority. Or maybe your company encrypts passwords in configuration files: Also not that uncommon. What’s not common (in my experience) is having the devops team “transmit” the password to the application after it has already been started. It’s a reasonable requirement, but out of the box, Play 2.1 presents several hurdles.
Continue Reading »
May
04
2013
In the past week, I’ve noticed a ton of traffic to one of my blog posts, but no comments. At first I thought it was a fluke, but then I got suspicious and tried to comment myself. I received an error message related to the SpamBam plugin. I’m not sure why it suddenly broke after several years, but it has been disabled and comments are now working again. I’m very sorry to those of you who wanted to speak up and couldn’t.
- Tony
Apr
29
2013
In my previous post, Play 2.1: The Bloom Is Off The Rose, I talked about several real-world problems I’ve had when using Play 2.1. I’ve since received responses from the Play team which prompted me to continue trying to find solutions to my problems. The outcome is a mixed bag.
Continue Reading »
Apr
21
2013
Update: This post has gotten a lot more attention than I expected and I just want to say to those reading: Thanks for stopping by!
On a recent project, my team evaluated several web frameworks for an upcoming web application. We chose The Play Framework. I was very attracted to its simplicity and the rapidity with which we could get things working. The Scala templates are also very powerful and much simpler (for me at least) than JSP templates. All in all it seemed like a match made in heaven. We were all really enjoying working with it. Unfortunately the honeymoon ended shortly thereafter.
Continue Reading »
Dec
07
2011
Update: Node.js for Windows has been improved since this post, so this information is obsolete. Last time I checked I was able to run CoffeeScript the same on Windows as I do on Linux and OSX.
If you’re using the CoffeeScript compiler for Windows (By Alexey Lebedev) you’ve probably noted a lack of a -w or “–watch” argument. These arguments can be very handy if you are working with a coffeescript file and want to quickly see the results of your edits. Given this lack of functionality and my desire to write some code in Groovy 1.8 using some of the NIO2 JDK 7 features I decided to write a little script that wraps this CoffeeScript compiler and fills in this missing feature.
Continue Reading »
Feb
26
2010
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 »
Jan
22
2010
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 »
Dec
01
2009
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 »
Nov
27
2009
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.
Jul
24
2008
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 »