I have been working on a java client library for BlazeDS. This is not a jms client that uses the jms adapter to publish or subscribe to flex topics, but a direct client of flex messaging, featuring topic producers, consumers and flex remote objects.
We plan to use the library primarily for load testing BlazeDS servers, but we will also be using it for integration testing BlazeDS services. As far as we know there are not many options out there for efficiently and programatically bashing on servers so we think this could be a huge help for us and everyone else! Flex testing framework is cool but clearly has some scalability limitations.
For example, a client java program can subscribe to a flex messaging topic with code like:
and can call a remote object with code such as:
The Java code looks very similar to flex/actionscript because I created the library by porting the open source mx.rpc code to java and using code from BlazeDS to serialize the messages.
Its mostly functional now and we plan to keep working on it (and may release the code if any interest?).
12 Comments
Sounds like a great tool!
It can definitely see the benefit in it and would greatly appreciate it, if you could post the code/parts of it.
Nice! Would be extremely useful to have such a tool.
You might make it interesting for using BlazeDS in conjunction with a tool like http://www.thinlet.com/ I like the functionality of flex and flash but people might think combining the too would be awesome.
Yeah I would 2nd that – source and a few small samples would be great. Thanks!
Definitely interested!
Great! this is hot! you guys are rad, always great posts!
Are you guys going to publish the source code at some point?
I am currently working on adapting some test code built on top of the library for use in The Grinder for load testing, but will have some time to clean up the code a bit and look into posting somewhere soon.
hi John, how about your work now?
Have you published your work? I would be interested to look at the code and see how you did it.
Any update on this? Very interested to hear how it is working out!
John has been very busy lately with a few other projects so this has gotten pushed to the backburner for a little bit. Hopefully he will be able to post a followup after the holidays!