Posts under ‘Architecture’

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 [...]

Database storage in TIBCO EMS 5.0

Earlier this year TIBCO released a new version of their particular implementation of the JMS standard. TIBCO Enterprise Message Service 5.0 which, among others, includes some features which I personally consider very interesting.
One of them is the possibility to store persistent messages in a database. In previous versions, the only possibility was to use file [...]

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 [...]

Compile-time architecture enforcement revisited: AspectJ, Maven and Eclipse

It has been a while since we first heard about compile-time checks with AspectJ at the Java Server Symposium in 2007. Since then we have been using and experimenting with this feature of AOP and AspectJ, and more recently we have used this technology to implement architecture enforcment rules for some of our clients.
In this [...]

Amazon releases EBS, Persistent Storage for EC2

Last week Amazon announced the release of Elastic Block Store (EBS), a block based persistent storage mechanism for EC2. This is very exciting news that will make a huge impact on the adoption of cloud computing and virtualisation in general.
I’m not going to go into a huge amount of detail here, if you want to [...]

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 2

During The Server Side Java Symposium at Barcelona, one of the technologies that appeared with more future possibilities in SOA world is SCA, Service Component Architecture. I particularly liked the decoupling and composition of services approach.
In the conference Fabric 3, an Open Source SCA, was presented. Even though being a very young product, it looks [...]

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 [...]