Update Mar.04 Thanks to @ewolff some of the points described below are now official feature requests. One (SPR-6928) is actually scheduled in Spring 3.1 (cool!). I've updated the post and added all open tickets. Please vote! This post is somewhat a response to InfoQ's Comparison of Spring MVC and JAX-RS. Recently I have completed a migration from a JAX-RS implementation of a web service to Spring 3.0 MVC annotation-based @Controllers. The aforementioned post on InfoQ was published … read on »
All posts filed in “software”
Unit testing with Commons HttpClient library
I want to write testable code and occasionally I bump into frameworks that make it challenging to unit test. Ideally I want to inject a service stub into my code then control the stub's behavior based on my testing needs. Commons Http Client from Jakarta facilitates integration with HTTP services but how to easily unit test code that depends on the HttpClient library? Turns out it's not that hard. I'll cover both 1.3 and the newer 1.4 … read on »
Spincloud, now with worldwide forecast
In my constant search for free weather data for Spincloud, a short while ago I have found a gem: free forecast data offered by the progressive Norwegian Meteorologic Institute. The long range forecast coverage is fairly thorough and covers most more than 2700 locations worldwide. I am happy to announce that I have extended spincloud.com to include it. The data is refreshed every hour and the forecast range is available for the next seven days. … read on »
Continuous everything?
I admit that I regard automation as a dull but vital part in the success of a project. Automation had evolved into Continuous Integration, a powerful toolset allowing frequent and regular building and testing of the code. I won't get into what CI is (check the internets). Instead, I am going to explore a couple of aspects of CI that can be added to the artifacts of the development process and note some others that … read on »
blog.newsplore.com is one year old!
Sep. 15 came and went and I didn't realize that this blog is one year old. I didn't post in the last few months but this is because I have been busy moving across the world from Toronto back to Europe (I'm in Berlin now), becoming a father ("the best job in the world") and taking a new job (LBS, yes!). Things are happening, wheels are in motion and there's still a lot to write about. … read on »
New Spincloud feature: heat map overlay
It took a while since the previous feature update to Spincloud. I have done a number of upgrades to the underlying tech and some intensive code refactoring but nothing visible. The time has come for another eye candy: heat maps. It is a map overlay that shows a color-translated temperature layer based on interpolated values of the current weather conditions. It gives a quick indication of the average temperature across all land masses where data … read on »
Reviewing Google AppEngine for Java (Part 2)
In the first part I've left-off with some good news: successful deployment in the local GAE container. In this second part I'll talk about the following: - Loading data and browsing - Table indexing - Limitations of datastore queries - More datastore limitations and JPA issues - Deployment - Performance - Production monitoring - Usage and quotas - Other limitations - Final thoughts Loading data and browsing After finishing-off the first successful deployment, next on the agenda was testing out the persistence tier but for this I … read on »
Upgrading to Spring 3.0.0.M3 and Spring Security 3.0.0.M1
A short two months back I posted an article describing how to upgrade to Spring 3.0 M2. Spring folks are releasing at breakneck speed and so I got busy again upgrading spincloud.com to Spring 3.0 M3 released at the beginning of May. Just yesterday (June 3rd) the team released Spring Security 3.0 M1 and I decided to roll this in Spincloud as well. Upgrading Spring Security from 2.0.4 to 3.0.0 M1 For Spring Security 3.0.0 M1 I'm … read on »
Proposal to standardize the Level 2 query cache configuration in JPA 2.0
Level 2 cache is one of the most powerful features of the JPA spec. It's a transparent layer that manages out-of-session data access and cranks-up the performance of the data access tier. To my knowledge it has been first seen in Hibernate and was later adopted by the then-emerging JPA spec (driven mostly by the Hibernate guys back in the day). As annotations gained strength and adoption, L2 caching that was initially configured through XML or … read on »
Reviewing Google AppEngine for Java (Part 1)
When Google announced that Java is the second language that the Appengine will support I almost didn't believe it given the surge of the new languages and the perception that Java entered legacy but the JVM is a powerful tried-and-true environment and Google saw the potential of using it for what it is bound to become: a runtime environment for the new and exciting languages (see JRuby and Grails). The JVM is the new gateway drug … read on »

