List/Grid Author Archives Subscribe to the RSS feed of Roger Hughes

junit-logo

Testing Techniques – Not Writing Tests

There’s not much doubt about it, the way you test your code is a contentious issue. Different test techniques find favour with different developers for varying reasons including corporate ...
powermock-logo

Mock Static Methods with PowerMock

In a recent blog, I tried to highlight the benefits of using dependency injection and expressing the idea that one of the main benefits of this technique is that it allows you to test ...
spring-logo

Everybody Knows About MVC…

From a recent blog, you may have gathered that I’ve recently been conducting some interviews and as they were for web application developers a question I asked was “can you explain ...
powermock-logo

Testing an Object’s Internal State with PowerMock

Most unit testing focuses on testing an object’s behaviour in order to prove that it works. This is achieved by writing a JUnit test that calls an object’s public methods and then ...
spring-logo

Spring MVC Interceptors Example

I thought that it was time to take a look at Spring’s MVC interceptor mechanism, which has been around for a good number of years and is a really useful tool. A Spring Interceptor ...
software-development-2-logo

Open Source Java Libraries and Frameworks – Benefits and Dangers

Everyone in the Java world seems to use various open source libraries and frameworks… and why not, there are hundreds available covering virtually every type of programming problem ...
software-development-2-logo

When Inheriting a Codebase, there are more questions than answers…

There will be that time in your life when you inherit someone else’s source tree or codebase and you’ll need to think of a plan to deal with this situation. Now, there are codebases ...
agile-logo

The Ten Minute Build

Given a development environment any developer should be able to get hold of the source code, click a button or type a simple command and run a build. The build should compile and perform ...
Page 6 of 6« First...23456
© 2010-2012 Java Code Geeks. Licenced under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
All trademarks and registered trademarks appearing on Java Code Geeks are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries.
Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.