Blog to discuss Midnight Coders products, features, ideas and trends in development of Rich Internet Applications

Friday, April 17, 2009

Running WebORB for Java in Google App Engine

Google has recently added support for Java applications to the Google App Engine, which is their cloud environment for running web-based applications. We decided to try out WebORB for Java and ran into a few problems. Most of the problems were related to the usage of the classes which are not on the approved JRE Class White List. There is also a bug related to their Servlet API specification that prevented normal execution of WebORB. However, we found a way to work around all the major issues and I am happy to report that WebORB for Java now can be deployed into Google App Engine to provide connectivity for Flex, Flash, Silverlight and AJAX clients with the deployed Java objects. 

We also have a sample WebORB deployment in our AppEngine account which you can see at the following URL (check out the Examples tab as well as the Service Browser under management):

We're working on a new build of the product with all the fixes we have made. Until then, there is a patch build of WebORB for Google App Engine available for download.

The ZIP file contains both management console and examples. However, if you do not care about that, then use just the contents of the WEB-INF folder and extract the files into the WEB-INF directory of your Google App Engine application.

We also plan to make a few changes in the product to support Google's persistence mechanism. Once it is done, then all the features that require File IO (code generation, data management, etc) will also be supported.

Happy coding!

Powered by Google App Engine


Blogger Sekhar Ravinutala said...

Yes, this is working! Tried with Flex. Finally, a way to do AMF with GAE/J, thanks a lot!

12:47 AM

Anonymous Anonymous said...

Something wrong !!!

Server reported an error: In development mode requests are only allowed from 5 client IP addresses. WebORB is locked to,,,, Restart WebORB to clear the cache or contact Midnight Coders to get your license key.

8:22 AM

Blogger Mark Piller said...

We're working on it guys, need to deploy a license key for our own software.. ;)

8:45 AM

Blogger Mark Piller said...

A license is now deployed and the server is running in the unlimited capacity.

11:28 AM

Anonymous Anonymous said...

Do I need a license to make WebORB work with more than 5 concurrent connections?

8:41 PM

Blogger Mark Piller said...

For all licensing related questions contact sales [at ]

8:43 PM

Blogger Sekhar Ravinutala said...

I'm getting a serialization error when trying to get JPA entities from GAE. Is this a known issue?

[WEBORB ERROR] unable to serialize object's field typeParameters access denied
at Source)
at Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)

2:35 PM

Blogger Mark Piller said...

Looks like one of the fields in the object you return (typeParameters) cannot be accessed. What does it look like in the class? Btw, please post your development questions here:

2:39 PM

Blogger pokiman said...

I am getting an error when I go to the management tab, expand the first tree element and click on the very first leaf. Error is:
faultCode:Server.Processing faultString:'null' faultDetail:'details not available'

7:45 AM


Post a Comment

<< Home