Velocity 1.5

As you all have probably heard, Velocity 1.5 was released last week. It is the first release of this project in last three years. This is certainly a long release cycle and it is not unusual that some people considered it a “dead project”. I have some projects that use Velocity as a template engine… Continue reading Velocity 1.5

Published
Categorized as onJava

Singletons and lazy loading

Probably the first design pattern that every software developer learns is Singleton and lazy loading of Singleton classes. The usual example, goes something like this: public class Singleton { static Singleton instance; public static synchronized Singleton getInstance() { if (instance == null) instance == new Singleton(); return instance; } } The problem with this solution… Continue reading Singletons and lazy loading

Published
Categorized as onJava

Playing with XFire

Every once in a while I get some WSDL file and a task to create a Java client (and a service for testing purposes) that will use a defined service. I’ve tried XFire a couple of times before (version was 1.1 in those days). But it never actually managed to create stub client and servers… Continue reading Playing with XFire

Published
Categorized as onJava

Retrotranslator

Reading this interview with Jean Elliott, director of product marketing for the Java SE platform at Sun Microsystems, got me into thinking about adoption of Java platform editions among developers (and plain users). I think that 1.4 is still very widely deployed runtime environment out there and that it is the main reason why many… Continue reading Retrotranslator

Published
Categorized as onJava

Spring and Flex

In this excellent article Christophe Coenraets gives few examples of how you can use Adobe Flex as a presentation layer for your Spring applications. It is good to see that my Spring middle-layer classes could be reused with one more presentation technology. I like to have options.

Published
Categorized as onJava

Jetty 6 and XBean

As you probably know, Jetty is a web server (and servlet container) written purely in Java. Because it is small, fast and has a well designed configuration API it is often used as a embedded server in various Java applications (Continuum, FishEye, …). Of course, when you use Jetty in a Spring-based application, you will… Continue reading Jetty 6 and XBean

Published
Categorized as onJava