Archive for the ‘Open Source’ Category

Groovy as a job control language

August 8th, 2008 by Johan Eltes

If you need to automate a fairly complex process – like a batch job – Groovy may come in handy. Designing a Java batch job is typically a task that involves the following mechanisms:

Job control infrastructure that triggers the job as a shell command
A script that (e.g. ant) that initializes the class path and triggers [...]

Posted in Dynamic languages, Open Source | No Comments »

Groovy and Grails intro

May 28th, 2008 by Johan Eltes

We are proud to announce that we have become G2One consulting and training partner for Sweden. You may not yet be familiar with these agile platforms built as extensions to Java and Java EE respectively. For our Swedish readers we have put together a short start-up guide. It comes in two parts: set-up instruction and [...]

Posted in Dynamic languages, Open Source | No Comments »

Testing with Hermes JMS

May 20th, 2008 by Annica Sunnman

I have been implementing new JMS services in my project. The services are defined by XML schemas. During development I implemented basic unit tests to make sure JAXB validation worked as expected. The test was catching some of the validation errors that caused by missing data or wrong occurrences of some elements. I was quite satisfied [...]

Posted in Open Source | 1 Comment »

Lightweight messaging development using Active MQ

May 18th, 2008 by Johannes Carlén

This is a guide to setting up a lightweight messaging development environment with Active MQ using Tomcat as the application server. This tips might be of help to you regardless you are using another platform such as Websphere MQ or just want to try out JMS in your web or Java application.
When integrating enterprise applications [...]

Posted in Open Source | 3 Comments »

Yet another Mock framework

April 20th, 2008 by Björn Beskow

I have used EasyMock for Mock Object creation since version 1.0 in 2001. It has never been perfect, but good enough. The need to explicitly work with a separate Control object for every Mock object created was a pain, but that was changed in version 2.0. EasyMock is a decent Mock Object framework.
Still, in lectures [...]

Posted in Open Source, TDD | No Comments »

Adobe Flex finally goes Open Source

March 14th, 2008 by Björn Beskow

In April last year, Adobe announced that they planned to donate their Flex programming platform to Open Source. Some two weeeks ago, it finally happened.
Flex is a platform for Rich Internet Applications (RIAs) that runs on the Adobe Flash virtual machine. With AIR (Adobe Integrated Runtime), Flex applications can also run locally, as desktop applications.
I [...]

Posted in Open Source, RIA, Web | No Comments »

Spring Batch close to 1.0 Release

March 12th, 2008 by Björn Beskow

At the QCon conference, Dave Syer today gave an update on the Spring Batch project that is approaching the 1.0 release (scheduled for next week). Batch Processing has to do with processing (typically large) “batches” or sets of input data at regular intervals instead of continuously, “on-line”, for some reason (cost, time, throughput, etc). Within [...]

Posted in Java EE, Open Source | No Comments »

Ant, Maven and …

March 10th, 2008 by Pär Wenåker

Are you one of those that think that Ant is not really the right way to do it and that the ideas behind Maven are really great, but you have never really felt comfortable using it. You might just be one of those that just think that XML is a big step for mankind in [...]

Posted in Open Source | No Comments »

Unit Test Utilities for developers in a hurry

January 29th, 2008 by Björn Beskow

What do you get when you try to say “Unit Test” and “Utilities” very fast? Unitils, of course! This new Open Source project gathers most of the productivity utilities and refactorings of typical JUnit/DbUnit/EasyMock code that most projects develop for internal use, over and over again (Jan reported on some of them in his Cadec [...]

Posted in Open Source, TDD | No Comments »

Try a new message protocol today!

January 17th, 2008 by Mats Ekhammar

Do you want interoperability in the middleware arena without vendor lock-in?
Then AMQP can be something for you!
AMQP stands for Advanced Message Queuing Protocol and is a emerging protocol specification that intends to enable implementations from many sources and address the most common business requirements.
To enable complete interoperability for the messaging middleware, both the networking protocol [...]

Posted in Open Source | No Comments »