Java
-
Java Enum puzzler
Let’s suppose we have the following code: enum Case { CASE_ONE, CASE_TWO, CASE_THREE; private static final int counter; private int…
Read More » -
JNDI and JPA without J2EE Container
We wanted to test some JPA code with as simple setup as possible. The plan was to use only Java…
Read More » -
Lucene Overview Part One: Creating the Index
Introduction I’ve recently been working with the open source search engine Lucene. I’m no expert, but since I have just…
Read More » -
MOXy as Your JAX-RS JSON Provider – Client Side
Recently I posted how to leverage EclipseLink JAXB (MOXy)‘s JSON binding to create a RESTful service. In this post I…
Read More » -
Cost of Ownership Analysis: Oracle WebLogic Server vs. JBoss
A very interesting whitepaper by Crimson Consulting Group comparing the cost of ownership between Weblogic and JBoss. Although JBoss is free, the whitepaper…
Read More » -
Fork and join in Java 7 – JSR 166 concurrency utilities
One of the most interesting improvements of Java 7 is the better support of concurrency. With JSR 166 Concurrency Utilities…
Read More » -
TestNG and Maven configuration guide
To be useful automatic tests should run very fast. Otherwise will not be run often during development or even will…
Read More » -
Writing modules for Play 2, part 1: Get something working
A couple of weeks ago, I migrated the Play! framework 1.x version of Deadbolt to the Play 2 platform, and…
Read More » -
Integration Testing with Selenium
Overview I’ve been using this for sometime and I’ve come across a few things that appear to make life easier.…
Read More »