Asynchronous job execution

In software development we are often encouraged to decouple things in order to achieve greater flexibility in our code. So we decouple model objects from views, interfaces from their implementation, etc. Here, I would like to write about different kind of decoupling, front-end from back-end. In many cases, projects tend to depend on resources that… Continue reading Asynchronous job execution

Published
Categorized as onJava

Eclipse Europa

On 29 June, Eclipse community will be richer for the new Europa release. It is a coordinate release of 21 Eclipse Foundation projects. The main component of this release is certainly new 3.3 version of the Eclipse Platform. Others include prominent projects from domains of administration, modeling, development and tools, such as Eclipse Communications Framework… Continue reading Eclipse Europa

Published
Categorized as onJava

(Not yet)Commons SSL

If you ever tried to work with SSL Socket connections in Java, you probably know that Java, by default, supports its own JKS and PKCS12 certificate formats. For those who need to work with OpenSSL it is usually suggested to convert keys and certificates to PKCS12 and then import them in the keystore using the… Continue reading (Not yet)Commons SSL

Published
Categorized as onJava

XStream 1.2.2

XStream 1.2.2 is released with JettisonMappedXmlDriver used for serialization and deserialization from JSON. It is the driver first presented in Java and JSON post. All modifications are submitted to Jettison and XStream projects respectfully and documented in an appropriate tutorial (http://xstream.codehaus.org/json-tutorial.html). From now on, XStream has a full support for JSON serialization. Enjoy.

Published
Categorized as Java, onJava

Changing CVS Root from shell

Here’s a simple script that recursively changes CVS/Root files in the project tree find . -name Root -exec sh -c ‘echo :pserver:example@cvs.example.com:2401/var/cvsroot > {}’ \; Note sh -c segment of -exec switch, which is necessary in order to successfully redirect to appropriate files. This could be useful for updating deployed projects with the repository that… Continue reading Changing CVS Root from shell

Published
Categorized as CVS, Linux

Can Servlet containers scale?

Filip Hanik of Covalent Technologies wrote an excellent article in which he describes his series of performance/scalability tests of the new NIO connector that has been added to Tomcat 6. In tests he also includes Jetty and Glassfish containers. The article contains very good explanation of challenges in adapting NIO environment to blocking IO requirements.… Continue reading Can Servlet containers scale?

Published
Categorized as Java