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!







9 Comments:
Yes, this is working! Tried with Flex. Finally, a way to do AMF with GAE/J, thanks a lot!
12:47 AM
Something wrong !!!
Server reported an error: In development mode requests are only allowed from 5 client IP addresses. WebORB is locked to 74.7.107.3, 65.242.33.26, 189.70.18.3, 200.13.124.36, 76.109.14.52. Restart WebORB to clear the cache or contact Midnight Coders to get your license key.
8:22 AM
We're working on it guys, need to deploy a license key for our own software.. ;)
8:45 AM
A license is now deployed and the server is running in the unlimited capacity.
11:28 AM
Do I need a license to make WebORB work with more than 5 concurrent connections?
8:41 PM
For all licensing related questions contact sales [at ] themidnightcoders.com
8:43 PM
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
java.security.AccessControlException: access denied
(java.lang.RuntimePermission
accessClassInPackage.sun.reflect.generics.reflectiveObjects)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at com.google.appengine.tools.development.DevAppServerFactory
2:35 PM
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: http://tech.groups.yahoo.com/group/flashorb/
2:39 PM
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