Java / JVM – When to use Multicast (e.g. Tibco Rendevous) instead of Point-to-Point Messaging (JMS Implementations)

Several solutions are available in the Java / JVM environment for messaging. All have in common that they exist for many years and still do its job in mission critical systems: Sending remote messages fast and reliable. There exist two different concepts which compete against each other for enterprise messaging solutions. This article describes and compares Point-to-Point (e.g. ActiveMQ) and Multicast (e.g. Tibco Rendevous) messaging to answer the question when to use which one. Although both solutions are available for many years now, this question is still very important – also for new software!
Read More

Book Review “Apache Camel In Action”

In January, I spent a lot of time playing with Apache Camel. I really like this EAI-framework. Thus, I will hold a workshop in our company and at some external events, e.g. at the IT conference “Confess 2011” in Vienna. It helps you a lot in any integration project within the Java environment. The book “Camel in Action” released some weeks ago. If you want to learn Apache Camel, you need this book! Here is my short review.
Read More

Lessons learned: SmartGWT 2.3 – Component-Library for Google Web Toolkit (GWT)

I used SmartGWT in our last project (duration: 6 months) – that is a component library for the Google Web Toolkit (GWT). I wanna share my experiences with that component library in the following. I show pros and cons of SmartGWT. Then I explain why I would use only a the client side of SmartGWT in future projects. I used SmartGWT Power 2.3 and GWT 2.0. All information is my personal opinion!
Read More

MyBatis (formerly called iBatis) – Examples and Hints using @SELECT, @INSERT and @UPDATE Annotations

MyBatis is a lightweight persistence framework for Java and .NET. This blog entry addresses the Java side. MyBatis is an alternative positioned somewhere between plain JDBC and ORM frameworks (e.g. EclipseLink or Hibernate). MyBatis usually uses XML, but it also supports annotations since version 3. The documentation is very detailed for XML, but lacks of annotation examples. Just the Annotations itself are described, but no examples how to use them. I could not find any good and easy examples anywhere, so I will describe some very basic examples for SELECT, INSERT and UPDATE statements by implementing a Data Access Object (DAO) using MyBatis.
Read More