Home » Author Archives: Roger Hughes (page 3)

Author Archives: Roger Hughes

Getting Started With Spring’s MVC Test Framework – Part 2

spring-interview-questions-answers

The first blog in this mini-series introduced the Spring MVC Test Framework and demonstrated its use in unit testing Spring MVC Controller classes as controllers rather then as POJOs. It’s now time to talk about using the framework for integration testing. By ‘integration testing’ I mean loading the Spring context into the test environment so that the controller can work with ...

Read More »

Getting Started With Spring’s MVC Test Framework – Part 1

spring-interview-questions-answers

Newly promoted to the main Spring framework is the Spring MVC Test Framework, which the Guys at Spring claim is a “first class JUnit support for testing client and server side Spring MVC code through a fluent API”1. In this and my next blog, I’m going to take a look at Spring’s MVC Test Framework and apply it to some ...

Read More »

Auditing a Spring MVC Webapp with AspectJ. Part 2

spring-interview-questions-answers

Now, this is the blog you want to read if you’re interested in creating a Spring MVC Webapp that uses Aspect Oriented Programming (AOP) in the form of Aspectj’s @Aspect and @Before annotations to audit a user’s visit to a screen. As I said in my last blog auditing a user’s visits to a screen is one of those few ...

Read More »

Auditing a Spring MVC Webapp with AspectJ. Part 1

aspectj-logo

If you’re like me, then you’ll have those kinds of programming days where everything seems to go incredibly well. You write the code and the tests and it just works. And then and there are those other kinds of days, the really bad ones, where you know that everything you’ve written is as right as it can be and the ...

Read More »

Acceptance Criteria Should be Executable

agile-logo

Having covered the debacle at Backwater Bank inc, you would have thought that my last blog had said just about everything there is to say about Agile User Stories. Well, that turns out not to be the case. If you take a look at an example order a cheque book story from the Backwater Bank inc scenario, you’ll see that ...

Read More »

So, what’s in a story?

agile-logo

I don’t know about you, but I always feel a little nervous when it comes to writing Agile stories. I often worry whether I’m the best person to write them and if I’ve got them right. The reason for the first worry is that the agile gospel says that the best stories are written by the customers whilst, the reason ...

Read More »

Spring MVC, Ajax and JSON Part 3 – The Client Side Code

json-logo

If you’ve been following this short series of blogs on Spring, Ajax and JSON you’ll recall that I’ve got as far as creating a Spring MVC web application that displays a form, which allows the user to select a bunch of items and submit a request to the server to purchase them. The server then replies with some JSON allowing ...

Read More »

Spring MVC, Ajax and JSON Part 1 – Setting The Scene

json-logo

I’ve been thinking about writing a blog on Spring, Ajax and JSON for a good while, but I’ve never got around to it. This was mainly because it was quite complicated and the technique required has been in a state of flux. When I decided to write this blog, I had a scout around the Internet and if you look ...

Read More »

Does Defensive Programming Deserve Such a Bad Name?

software-development-2-logo

The other day I went to an hour’s talk on erlang, merely as an observer; I know nothing about erlang except that it does sound interesting and that the syntax is… well… unusual. The talk was given to some Java programmers who had recently learnt erlang and was a fair critic about their first erlang project, which they were just ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close