JTeam is proud to announce the release of Paazl, one of the projects that we have been working on recently. Paazl offers a solution to the growing demand for choice when it comes to shipping. The platform JTeam developed allows Paazl customers (mostly webshop owners) to offer a range of options in shipment to their […]
Testing the database layer
The database is an integral part of many applications and writing queries is often hard. For that reason I have always written integration tests for the data access objects or DAO’s that I use to access the database. The way I write my DAO tests has changed a lot over the years and in this […]
Simple forms with Spring MVC 2.5
Having used the Spring MVC 2.5 webframework for a while now, I felt the urge to blog about some of the experiences I had with it. Especially about the part concerning forms, validation, binding and property editors. That’s the part that was usually provided to you by the SimpleFormController (in the ‘old’ Spring MVC). But […]
Shebang! Birth of a Groovy script
For a few days I have been browsing through Groovy in Action and wanted to give Groovy a try. So what should I code? I was busy with other stuff and while I was setting up a wicket project at home I wondered….what was the mvn wicket-quickstart syntax again?! I could have just pasted the […]
Oracle buys Sun – consolidation and open source
The news couldn’t be missed today. Both Sun and Oracle commented on their respective website shortly after the news hit the press and many people on blogs, twitter and other channels followed. It’s interesting to see how much consolidation has happened in the Java community in recent years. First there was the major acquisition of […]
Customize namespace prefix when marshalling with Jaxb
I was looking a long time on how to set the prefix for a namespace when marshalling an object to xml using JAXB. If you don’t do anything JAXB will write random namespace prefixes (like ns2, ns3).? Note: This is a repost of a blog item that was originally posted in the Func knowledge base […]
EasyMock: capturing arguments passed to mock objects
EasyMock2 is a library that provides an easy way to create on-the-fly mock objects based on interfaces. It can be used in combination with JUnit to create simple and powerful unit tests. Here’s an overview of the basic EasyMock flow, followed by a brief example that demonstrates a new feature in EasyMock 2.4: capturing arguments passed to MockObjects.
Spring 2.5 and Maven problems
It looks like the spring 2.5 jars that where uploaded to the official maven repository are broken. The full spring jar is 321 kb large and only contains the spring aop classes. Anyway I added springs own repository to my pom and then i got the correct jar and sources <repository> <id>spring</id> <name>Spring Portfolio Repository</name> […]
EasyMock2 in a Nutshell
The essential tool for unit testing, EasyMock, has come to a new level. This blog entry introduces the new EasyMock2 release. While it is still in pre-release stage, I do recommend using EasyMock2 for all your Java 5 projects. To quote Tammo Freese (Project Founder) from the EasyMock project: ‘I plan no modifications other than […]
Your first cup of DWR…
Important: this post is fairly outdated. Take a look at my more recent blog post on DWR and Spring integration. Ok, so you want to create a more intuitive and responsive web application? And you’ve decided to give AJAX, HttpXmlRequest, DWR or any other buzzword of the last few months, a try? Now, if you’re […]