| By Raymond Feng | Article Rating: |
|
| October 5, 2009 11:09 PM EDT | Reads: |
3,940 |
I managed to get an variant of Tuscany SCA helloworld-jsp working on Google App Engine. The application is now up and running at [1]. The composite contains implementation.java, implementation.web and a JSP using SCA taglibs.During the bring-up, I made a few minor changes to Tuscany 2.x code base to fix the two classes that break the the App Engine JRE Class White List:
* org.apache.tuscany.sca.node.impl.NodeImpl (java.lang.management.ManagementFactory is restricted)
* org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory (subclassing java.lang.reflect.Proxy is not allowed: org.apache.tuscany.sca.core.invocation.CachedProxy)
I have checked in the fixes into trunk and the application into my sandbox at [2]. After checkout, you can run "mvn" to copy the Tuscany jars into the war/WEB-INF/lib folder. Then you can load the project into Eclipse if you have the Google App Engine Eclipse plugin is installed (See [3]).
CIO, CTO & Developer Resources
We can try to get Web Service binding working as the next step.
[1] http://scacloud.appspot.com/
[2] http://svn.apache.org/repos/asf/tuscany/sandbox/rfeng/helloworld-jsp-google-appengine/
[3] http://code.google.com/appengine/docs/java/tools/eclipse.html#Installing_the_Google_Plugin_for_Eclipse
Read the original blog entry...
Published October 5, 2009 Reads 3,940
Copyright © 2009 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
Related Stories
More Stories By Raymond Feng
Raymond Feng is a senior software engineer with IBM. He is now working on the Service Component Architecture (SCA) runtime implementation in Apache Tuscany project as a committer. Raymond has been developing SOA for more than 4 years and he was a key developer and team lead for WebSphere Process Server products since 2002.
- Patterns for Building High Performance Applications
- It's the Java vs. C++ Shootout Revisited!
- Asynchronous Logging Using Spring
- Java for Programmers (2nd Edition)
- Cross-Platform Mobile Website Development – a Tool Comparison
- Three Buzzwords That Every CIO Hears but One They Should Listen To
- Write Once Run Anywhere or Cross Platform Mobile Development Tools
- Immersing into JavaScript Frameworks
- Workday Reportedly Prepping to Go Public
- Cloud Expo New York: The Java EE 7 Platform - Developing for the Cloud
- Book Review: Sams Teach Yourself Java in 24 Hours
- OpenOffice.com Lives
- Book Excerpt: Introducing HTML5
- Adobe Sends Flex to the Apache Foundation
- Five Years Waiting for JRE 7: Is It Justified? (Part 1)
- Book Excerpt: Java Application Profiling Tips and Tricks
- i-Technology in 2012: Five Industry Predictions
- Patterns for Building High Performance Applications
- It's the Java vs. C++ Shootout Revisited!
- OpenXava 4.3: Rapid Java Web Development
- The Next Web Architecture
- Asynchronous Logging Using Spring
- Java for Programmers (2nd Edition)
- Is Write Once Run Anywhere Ever Going to Be a Reality?
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- JavaServer Faces (JSF) vs Struts
- The i-Technology Right Stuff
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
- What's New in Eclipse?
- i-Technology Predictions for 2007: Where's It All Headed?



















