Which server side for a Flex app

Context choose the server-side technology for a flex application java based Randoms flex supports HttpService, WebService or RemoteObject first thought: HttpService -> ServletDispatcher -> Service -> Java -> DB -> XML -> HttpService. NO: we are in the future, something like that must already exist, I would have done that 5 years ago except for Flex which didn’t existed then RemoteObject requires a special server side application such as BlazeDS seems simple enough and I like that you only have a few xml files to define your services which you associate with your java classes seems the only choice if you need real-time messaging which is not the case here RemoteObject communication uses a binary communication protocol which is bad if client technology is going to change and is difficult to sniff/debug and/or test without the server....

April 21, 2008 · len

From FAST to Flex

Since the beginning of the year I have been working on a FAST based project. Bothered to implement and maintain a connectivity API it seems that markets are migrating to more standard protocols. Now, nobody can blame the API anymore. You have your clear specification and it’s up to you to implement it as fast as possible. At a first glance the FAST protocol seems simple but the simplicity fades away quickly when talking about operators and dictionaries....

April 15, 2008 · len

Which technology for your next webapp?

I am faced with a new web project for which I have to choose the technology to use it. Five years ago I was in the same position and I chose Tapestry. It proved to be a very good choice (1, 2, 3) and I am still able to modify and adapt that code without much difficulty. However now there are so many rich web interfaces which I cannot ignore....

April 8, 2008 · len

Book review #1

I am using jBPM for more than a year now and had my ups and downs with it. However the “Business Process Management with JBoss jBPM” by Matt Cumberlidge from packt was an interesting read. What the book does is to present the problems from a business analyst point of view and as doing such it presents a lot about the actual activities which take place in order to implement a BMP while following an implementation scenario stage by stage....

April 3, 2008 · len

Reverse VNC

Reverse VNC is one of the things which can make your day when it will help you connect to some NAT-ed machine. And so it has made my day yesterday, enough to decide to write about it. As everyone knows in direct VNC setup the client connects to the server which listen somewhere (usually on port 5900). If your vnc server is behind a network it might not be so easy to forward it’s vnc port to an external accessible machine so in this case reverse vnc might come in handy....

March 26, 2008 · len

Source routing

The situation Due to some changes in the internet providers it has been decided to add a new external interface to the router machine via a different provider which will work for some time in parallel. The idea is to have both interfaces actives and to have all the services active on both. Let’s call the interfaces ethA and ethB. The problem The problem is that by default you can only do destination based routing and you can only have one default route....

March 22, 2008 · len

Ant and env variables

Desired result Execute an ant target only if some environment variable is set. Something like: ant deploy -> does something<br></br>MYVAR=test ant deploy -> does something more How Why is this so complicated? Because if a environment variable does not exist ant will assign the value ${env.myvar} to the property myvar.0 <property environment="env" /><br></br><property name="myvar.0" value="${env.myvar}" /><br></br><condition property="myvar" value="${myvar.0}"><br></br> <not><br></br> <equals arg1="${myvar.0}" arg2="$${env.myvar}" trim="true" casesensitive="false" /><br></br> </not><br></br></condition><br></br><br></br><target name="myextratarget" if="myvar"><br></br> <echo message="${myvar}" /><br></br> ....

March 20, 2008 · len

About work

I have not written much about my work, my actual work but I think today is a good day to do so as it’s one of the more “typical” days. Every day I start with a set of tasks. Imagine them as a queue, or bag, of tasks. Most of them are just beacons on parallel threads. In fact all off them are beacons on parallel threads. So, generalize: every day I start with a set of queues and a more general queue containing the first task in all those other queues....

March 6, 2008 · len

K550i sync

Updated 22-03-2008: fixed broken link. After the tragic death of my T630 phone I have bought a new Sony Ericsson K550i to replace it. The old phone worked quite ok with linux but I was very pleased by how quick I was able to make this new one work with my Ubuntu Gutsy. Synchronization I managed to establish a bluetooth connection with no trouble using the same method described here using multisync....

February 28, 2008 · len

Blogosfera: care pe care

// *Update 2008-02-24:* deoarece harta mea a generat o multime de reactii pozitive m-am hotarat sa o updatez periodic pentru a ramane sincronizata cu evolutia blogosferei romanesti. Ma gandesc sa adaug si o metoda automata de a putea inregistra noi bloguri. Pentru moment puteti sa-mi trimiteti un mail cu blogul vostru pentru a-l introduce in update-ul urmator. Ma gandesc de ceva timp la un graph (harta) al blogosferei romanesti. In mod...

February 17, 2008 · len