What's New Here?Subscribe to RSS feed

Modal dialog (popup) from Android widget example
In this tutorial you will learn how to open a modal popup (or dialog) from an Android home screen widget. 1. Introduction Android widgets only contain a subset of the available UI ...

Fundamentals of good API designing
Do you write reusable OO code? Code that is being used by other modules within the same product? Or code that is exposed to the outside world and used to develop third party applications? ...

Spring MVC: form handling vol. 3 – checkboxes processing
I have already published the post about processing of ‘checkbox’ tag using Spring MVC tag library. Now I want to develop this theme and proceed with the ‘checkboxes’ tag. It’s ...

Building smart Builders
When building an API, you should always think about who is going to use it. When the API is simply and clear to use, then the users are happy. When the users are happy then everyone ...

Train Wreck Pattern – A much improved implementation in Java 8
Venkat Subramaniam at a talk today mentioned about Cascade Method pattern or Train Wreck pattern which looks something like: >someObject.method1().method2().method3().finalResult() Few ...

Java EE 7: JMS 2.0 With Glassfish v4
Java EE 7 has been recently accepted by the Executive Committee. This means that soon we should have Java EE 7 application servers available on the market. One of the specifications ...

Spring MVC: form handling vol. 2 – checkbox processing
It’s hard to imagine a situation when a modern web-application doesn’t have checkboxes in a form. In one of the previous posts I wrote about form handling in Spring MVC, as a continuation ...

JDK 8′s Calendar.Builder
One of the defining characteristics of the brave new world of Java is the increasing prevalence of the builder pattern in the Java space. Groovy, which appears to be the most popular ...

Spring MVC, Ajax and JSON Part 2 – The Server Side Code
In my last blog I said that I was going to talk about Spring, Ajax and JSON, but didn’t. The reason for this is that I wanted to set the scene using a (barely) credible shopping ...

Synchronising Multithreaded Integration Tests revisited
I recently stumbled upon an articleSynchronising Multithreaded Integration Tests on Captain Debug’s Blog. That post emphasizes the problem of designing integration tests involving ...



