Openfire server installation – Infrastructure for Instant Messaging

This tutorial is the first part of the “Setting up an infrastructure for Instant Messaging” article series. In this tutorial, we are going to setup an Instant Messaging infrastructure for a private intranet. This should come really handy if you don’t wish to depend on solutions running on the internet or if your network administrator has blocked all the traditional ...

Read More »

Java Best Practices – Vector vs ArrayList vs HashSet

Continuing our series of articles concerning proposed practices while working with the Java programming language, we are going to perform a performance comparison between the three probably most used Collection implementation classes. To make things more realistic we are going to test against a multi–threading environment so as to discuss and demonstrate how to utilize Vector, ArrayList and/or HashSet for ...

Read More »

Sending e-mails in Java with Spring – GMail SMTP server example

For e-mail sending in Java, the JavaMail API is the standard solution. As the official web page states, “The JavaMail API provides a platform-independent and protocol-independent framework to build mail and messaging applications”. The necessary classes are included in the JavaEE platform, but to use it in a standalone JavaSE application you will have to download the corresponding JAR from ...

Read More »

Java Best Practices – High performance Serialization

Continuing our series of articles concerning proposed practices while working with the Java programming language, we are going to discuss and demonstrate how to utilize Object Serialization for high performance applications. All discussed topics are based on use cases derived from the development of mission critical, ultra high performance production systems for the telecommunication industry. Prior reading each section of ...

Read More »

Building your own GWT Spring Maven Archetype

Hello everyone, While watching  this really interesting articles by Justin about Spring and GWT,i thought that it would be extremely useful to show how to build your own custom maven archetype .The archetype we will present is based on the last project of Justin and includes various technologies like Spring,GWT,AspectJ,HornetQ and Infinispan. Enough talking ,let’s get our hands dirty now. ...

Read More »

Add JSON capabilities into your GWT application

Introduction to JSON While working on web applications, the issue of client-server data exchange always arises. There are various approaches on this matter, with a lot of them using XML for the exchange. A not so well known format for performing this task is JSON. JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to ...

Read More »

Java Best Practices – DateFormat in a Multithreading Environment

This is the first of a series of articles concerning proposed practices while working with the Java programming language. All discussed topics are based on use cases derived from the development of mission critical, ultra high performance production systems for the telecommunication industry. Prior reading each section of this article it is highly recommended that you consult the relevant Java ...

Read More »

Aspect Oriented Programming with Spring AspectJ and Maven

Spring framework comes with AOP support. In fact, as stated in Spring reference documentation, “One of the key components of Spring is the AOP framework. While the Spring IoC container does not depend on AOP, meaning you do not need to use AOP if you don’t want to, AOP complements Spring IoC to provide a very capable middleware solution. AOP ...

Read More »