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 […]
You are browsing archives for
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.
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> […]
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 […]
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 […]