In this post we take a closer look at the basics of a popular MVC framework Apache Struts. Today, we explore the server-side and discuss the concept of actions and validation. As usual, an example app is provided and you are more than welcome to code along.
Wednesday, 15 April 2015
Saturday, 11 April 2015
In the previous post we experimented with JavaServer Pages and created a simple web app. Lazy coders as we are can't help, but automate as much as possible in order to avoid tedious manual steps. HtmlUnit is very well suited to work in tandem with JSP technology. I value the framework for its ease of use and succinct API.
Wednesday, 8 April 2015
In this very first post of the JEE Series we create a simple web app based on JSP and JavaBeans. Bring an IDE of your choice and give it a swing.
Saturday, 4 April 2015
Saturday, 14 February 2015
Travis CI is an awesome free-of-charge continuous integration service. Go and check it, if you haven't tried it yet. What I appreciate in particular is a broad range of supported programming languages. Should you happen to have a project based on more than a single language though, then you might wonder if and how the builds would work.
Saturday, 7 February 2015
I've just added Fabric SDKs to my Android project and the initial impression is overly positive. However, during the setup, I ran into a few time consuming issues. Enhanced with a better understanding of how it all fits together, I have to admit that most of the troubles were totally avoidable. In this post, I would like to walk you through the official tutorial and highlight the important steps.
Saturday, 31 January 2015
I've recently come across an interesting puzzle, it went like "Guess the next value of Math.random()". How could you possibly do it? Well, since the output is unpredictable by definition, the only option left for many of us is cheating. Once I successfully "solved" the puzzle by crippling the poor Math class to a worrying extent, I was thinking what else could I do. And most importantly, how far would I get before I had to reach for advanced frameworks like Mockito, PowerMock or jMock.