Stomp, ActiveMQ, and TinylineEver since I tried the
Apache ActiveMQ, all of a sudden, the decision become easy. Actually, JSquiggle is a typical textbook pub/sub paradigm. However, most of the pub/sub tool are considered the "Enterprise" feature. They usually cost a lot of CPU cycle, memory footprint, and money.
ActiveMQ is really simple. It does not depends on any J2EE server. The installation on Mac OS X takes less than 20 minutes (unzip, drop, modify a few lines of config), and then it is up and running. The optional wire protocol,
Stomp, looks quite promising to me. I'm not sure if I'm able to implement a distributed clock using Stomp (to embbed Lamport timestamp in message). I hope I could.
And then comes the great
Tinyline SDK. It is really easy to use. I don't need to touch any XML parsing code, and the SVGDocument object is created. No wonder it is so popular.
JSquiggle 2 will use these light weight implementations to make things happen faster. I've been
thinking of doing this rewrite for long time, but everything I feel like reinventing the wheel. Finally there are reasons I don't need to reinvent everything.