Feb 16 2008

Flex BlazeDS Spring an Integration Story

adam

At the Melbourne Spring User Group (MSUG) meeting in Feb I presented on integrating an Adobe Flex Rich Internet Application with a J2EE services tier using Spring as the integration glue and BlazeDS for lightweight binary data transfer using ActionScript message Format (AMF). I have made the slides from that presentation available here.

Many people seem to think that their has to be some hard decision made about whether to go with the sexy flash based user interface of a Flex application, or the robust, scalable dependability delivered by a Java based application. I say “Why not have the best of both worlds?”. The approach I outline is completely Open Source and free and it is trivially easy to configure BlazeDS to use the Spring bean factory to expose a standard Spring service facade to remoting calls by a Flex application.

Documentation for BlazeDS can be found here. An explanation of the Adobe example Spring factory can be found here. it contains the source code as well. You will need to copy it and paste it into your project source tree.

I hope this is useful to people.


Feb 10 2008

J2ME Logging

adam

As soon as an enterprise developer starts developing for mobile devices the paradigm changes. For me reliable logging is almost the first thing I missed in J2ME. Even System.out, were you to be so crass as to use it ;) , is unreliable on some devices.

I found a sourceforge project called MicroLog this looks very promising. It is log4j compatible and the download is only the source code so you simply add it to your project source tree. It is quite lightweight and considering the development time wasted when you cannot get reliable debug information it seems well worth it.