Sunday, September 12, 2010

Tuscany related sessions at JavaOne 2010



Some of us will be at JavaOne this year, and we will be presenting
two Tuscany related sessions :

S314011 - Developing composite applications for the Cloud using Apache Tuscany
Wednesday, September 22, 11:30AM

Today's cloud environments pose new challenges for application
developers: hiding cloud infrastructure from business logic,
assembling components on heterogeneous and distributed cloud
environments, and optimizing the provisioning of the required cloud
resources. This session will demonstrate how to use Apache Tuscany and
the Service Component Architecture (SCA) to develop, build, and run an
application composed of several service components in a distributed
cloud environment. We'll illustrate how to encapsulate cloud
infrastructure services as SCA components to simplify the construction
and assembly of the application and how to move components around and
rewire the application to adjust to new business and cloud deployment
conditions.


S313731 - Databinding Unleashed for Composite Applications
Tuesday, September 21, 8:00AM

Data bindings such as JAXB, SDO, DOM, and JSON denote how business
data is represented. Collaborating components in a composite
application often need to use different data bindings as required by
the business logic or protocol stacks. Apache Tuscany provides a
framework that allows mixing and matching of data bindings so that
application developers can have the freedom to choose their preferred
data binding technology without worrying about complex data
transformations. This session is for developers looking for
flexibility of data bindings in the enterprise. Attendees will learn
about: * Decoupling data bindings between service consumers and
providers * Tuscany?s approach to transform data without the
intervention from application code


If you are going to be around, stop by and introduce yourself...

Labels: , , ,

Wednesday, November 04, 2009

ApacheCon 2009 Session : SCA, Java EE, Spring, Web 2.0 and Cloud Come Together - Service assembly with Apache Tuscany SCA


ApacheCon US 2009 has started and I'm done with my first Apache Tuscany session.

SCA, Java EE, Spring, Web 2.0 and Cloud Come Together - Service assembly with Apache Tuscany SCA
Wed, 04 November 2009 11:00, by Luciano Resende

Slides are now available

Tuscany cloud tutorial source code is available in Tuscany SVN at sca-cloud-tutorial sandbox.

The application integration sample (a.k.a Travel Sample) is available in Tuscany SVN at travel-sample sandbox.

Labels: , , ,

Tuesday, October 06, 2009

Variant of Store scenario up and running in Google App Engine !!!


A variant of the Store scenario is now deployed as a distributed application in Google App Engine. The scenario consist of a fruit catalog hosted as one appengine application (tuscany-store-catalog) and the front end ui is hosted as another appengine application (tuscany-store) that has a catalog aggregator used to aggregates multiple catalog references using the JSON-RPC binding. Note that we can easily add new new catalog references hosted either in another appengine applications or other could types.



Note that this is all based on the new Tuscany 2.x runtime, which is based on the OASIS SCA 1.1 draft specifications.

If you got interested, the store and store-catalog applications are available in the sca cloud tutorial sandbox.

Hopefully I can soon post more news of a more heterogeneous cloud scenario working.

Labels: , , ,

Friday, September 18, 2009

Tuscany SCA helloworld-jsp is up and running on Google App Engine

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]).

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

Labels: , , ,