Serving Flex from GlassFish - Blaze-DS and WebORB

WebORB Java Logo

Adobe Flex is one of the new Rich Internet Application (RIA) platforms. Two Back-Ends for Flex are Adobe BlazeDS and Midnight Coders' WebORB and Ries reports success in using GlassFish with both: Flex and Blaze-DS and Flex and WebORB.

The BlazeDS Release Notes only mention Apache Tomcat, so I'd be interested in additional feedback on whether everything works. If not, since OpenDS is an OpenSource project, there might be some GAP opportunities for some person with energy and expertise.

WebORB seems designed for portability from the beginning. Although GF is not listed explicitly in their Container List Reis' has a see Live Demo running on GF (see NetCraft Report).


I use LiveCycle Data Services and BlazeDS on Glassfish. The only problem I have ran in to is with the TomcatLoginCommand.

At first I was having problems with the Tomcat Valve. After making the changes discussed at the url below, the server-side error went away but login still doesn't work.

Anyone that has solved this I would really appreciate hearing how.

Posted by Ryan Campbell on April 15, 2008 at 04:47 PM PDT #

Thanks for the comment, Ryan. I've forwarded this to the alias. Let's see what they have to say. - eduard/o

Posted by Eduardo Pelegri-Llopart on April 16, 2008 at 03:46 AM PDT #

I was actually able to solve the issue and BlazeDS/LCDS custom authentication is now working with Glassfish. I'll be submitting a patch to the BlazeDS project. Hopefully Glassfish can be added as a supported server.

Now that this is working, I've used every feature available with BlazeDS/LCDS on Glassfish and I'm also using it in production. If any one has any questions feel free to contact me by following the link to my blog.

Posted by Ryan Campbell on April 16, 2008 at 07:06 AM PDT #

Great News. Please let us know if BlazeDS takes your patch. I'll contact you on your experience directly. - eduard/o

Posted by Eduardo Pelegri-Llopart on April 16, 2008 at 07:14 AM PDT #

Need 3 Flex engineers in New York City:
1. You have to be living in New York City for now.
2. Work part time or full time with us.
3. Good at Adobe Flex technology.
4. Please contact us for other requirement and details.

Busycode Inc. is a top Adobe Flex shop who develops Flex/AIR applications for clients.
For more info, please visit

Posted by Andychou on April 17, 2008 at 07:08 PM PDT #

Post a Comment:
Comments are closed for this entry.