Fast path switching between projects

Tuesday, December 29, 2009

I just finished some mods to the script I use when switching from one project to another.  The script makes it really fast and easy to try different versions of things that are wired into the command line path.  For example, switching grails versions is as simple as use grails 1.1.1 grails run-app Switching back [...]

Simplifying JPA Testing with Spring’s PersistenceUnitPostProcessor

Friday, December 11, 2009

At my current client, we are writing an application that is deployed as an ear into Websphere. One of the goals of the project is to write out-of-container tests so that we don’t have to build and deploy over and over again. Two of the tools we are using in this application is JPA for [...]

Write Readable Tests with Mockito

Friday, December 4, 2009

A good mocking framework is a must have in any Java developers toolset. Mocking frameworks greatly reduce the amount of code needed to effectively mock dependent interfaces and/or classes. Over the past several years EasyMock has been my mocking framework of choice. But, the framework has a couple of issues that could be improved upon. [...]