Be aware of the users in Spring!
session scoped spring bean for keeping track of the logged in user in the spring layer
Recently I’ve been working intensively with Maven and it’s release plugin and I wanted to share some things I learned while scripting release process for our project. I wish I could say that everything’s been as easy as “advertised” in plugin’s documentation but unfortunately there were some problems to overcome and also some things I […]
I'll describe here how to do unit testing on ActionBeans when working with Stripes technology. More specifically, I'll focus on testing approach using MockRoundtrips. Stripes comes with large set of mock objects which implement interfaces in Servlet specification. We'll focus on two of them: MockServletContext and MockRoundtrip.
Java Server pages technology allows us to combine HTML (or some other) output and Java code in a single JSP file. Although mixing Java code with HTML output generally isn't very good development approach, there are situations when you can't avoid it. Here are some of our guidelines for better code organization.