Posts under ‘Java EE’

Distributed JUnit testing with GridGain

Recently we have been running some problems while testing distributed applications with JUnit. The main problem was that we were running the client and the server within the same host. Although the test passed because the application logic was correct. Running the application distributed failed due to some errors related with the naming of the [...]

Automated integration testing with Selenium, Maven and Jetty

Here at The Server Labs we place a high value on automated unit and integration tests and believe that they are fundamental whether you are using an agile methodology or not.
We use Maven on the vast majority of our projects and we often use Jetty as a web container in plain Java web projects [...]

When to use Transfer Objects with EJB 3

We’ve recently been involved in an EJB 3 project that uses the ‘Transfer Object’ Design Pattern. For those of you not familiar with it, this pattern came about as a result of the inefficiency of making multiple remote method calls to an EJB 2 Entity Bean.
The typical Transfer Object use case is where an EJB [...]

TheServerSide Java Symposium Europe - part 1

Last week I attended TheServerSide Java Symposium Europe, a 3 day conference held in Barcelona. I was pleasantly surprised by the variety of topics, the quality of the speakers and the professional organization; it reminded me of the early days of JavaOne.
J2EE vs Spring/Hibernate open source stacks
One of the recurrent themes of the conference was [...]