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

Stomp and JSON

As I said in the previous post, one of my main intentions is to use Stomp to send map messages from PHP to Java. So in this iteration, I have added support for JSON encoding/decoding of message content. Before I dig deeper into new functionalities and changes, let me explain which JSON libraries (PHP and… Continue reading Stomp and JSON

PHP Stomp client

Download This work is based on Hiram Chirino’s excellent library. It would be great if this “extended” version become part of that project too, but for now you can grab it from here. While the original library is well written, there were few things that prevented me to use it in my project. I started… Continue reading PHP Stomp client

Will we have closures in Java 1.7?

It seems like growing interest in dynamic languages will finally move Java syntax toward local functions and closures. Gilad Bracha, Neal Gafter, James Gosling and Peter von der Ah

Published
Categorized as onJava

Java open-source roadmap

It’s finally here. According to news and blogs, Sun announced that it will open source Java ME platform and some components of the SE platform by the end of the year. Sun plans to open source javac compiler and HotSpot virtual machine, two crucial components of the Java SE platform, by the end of the… Continue reading Java open-source roadmap

Published
Categorized as onJava

Handling ADO.NET DataSets with Axis

First of all, SOAP is not my web service protocol of choice since I think it is overkill for the most of applications. I prefer the simplest possible solution for the problem, but when the service that you need is only available through SOAP, you don

Published
Categorized as onJava

On Derby…

There were a lot of discussions lately about inclusion of Derby (aka JavaDB) in the Sun JDK. First of all, I personally think that it will not really change anything. I

Published
Categorized as onJava

Parsing form-data multiparts

If you ever needed to parse form-based multipart data, you are probably aware of the Jakarta Commons FileUpload library. But while this library is primarily intended to parse data directly from HttpRequest objects and thus handle uploading of files in your web application, it could be used to parse an arbitrary InputStream and extract multiparts… Continue reading Parsing form-data multiparts

Published
Categorized as onJava