InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Apache Tuscany Java 1.1 Released: SCA Meets Web 2.0

Posted by Jean-Jacques Dubray on Feb 05, 2008

Sections
Operations & Infrastructure,
Enterprise Architecture,
Development,
Architecture & Design
Topics
SOA ,
Grid Computing ,
Java ,
SOA Appliance ,
SOA Platforms ,
Open Source ,
Javascript ,
Web 2.0
Tags
JSON ,
WS-BPEL ,
Atom ,
AJAX ,
Service Component Architecture

The Apache Tuscany team announced today the 1.1 release of the Java SCA project.

Apache Tuscany is a runtime environment based on the Service Component Architecture (SCA). SCA is a new component model that facilitates the construction of composite applications. SCA is a set of specifications initially developed by IBM and BEA which are now being standardized by OASIS as part of the Open Composite Services Architecture (Open CSA). The members of the working group include: BEA, IBM, Primeton, SAP, Sun Microsystems, Oracle, Red Hat, SOA Software, Xcalia...

The Open SOA organization defines SCA as a:

Service Component Architecture (SCA) provides a programming model for building applications and systems based on a Service Oriented Architecture.  It is based on the idea that business function is provided as a series of services, which are assembled together to create solutions that serve a particular business need.

The Tuscany SCA Java 1.1 release adds a number of features including:

  • a JMS binding,
  • improved policy support
  • an implementation extension for representing client side Javascript applications as SCA components.
InfoQ spoke with Jean-Sebastien Delfino and Luciano Resende, both from IBM, who contribute to the Apache Tuscany project.

InfoQ: What type of feedback did you receive after the 1.0 release?

JS: We received good feedback from our users, with more users posting to our user list with 1.0. Overall I think they found Tuscany easy to install and use while providing good support for the SCA 1.0 spec.

We also got some requests for:

  • more policy support
    • security policies, which we have improved in 1.1
    • transaction policies, we're working on it
  • JMS (now available in 1.1)

InfoQ: What kinds of project people are currently starting with Tuscany?

JS: They are literally across the board, from students using it to experiment with grid and distributed computing to real world banking applications.

InfoQ: Where do you see the sweet spots of adoption  of an SCA infrastructure?

JS: Web Service based applications which can rely on a simpler programming model and composition. There is also more traditional integration, again, with a simpler and consistent programming model across bindings and component implementation types.

What's new is that we are starting to see SCA helping people build Web 2.0 applications as well.

InfoQ: on that note, could you explain how the the "widget" implementation works ?

JS: With an you can now include, in an SCA composition, client components implemented as HTML + Javascript the AJAX way, running in your Web browser, wired to server-side components using Tuscany's JSONRPC and ATOM bindings for example.

Basically it is about embracing Web 2.0 client components in a distributed SCA composition.

This how you declare references using JavaScript:

//@Reference 
var catalog = new Reference("Catalog");
//@Reference
var shoppingCart = new Reference("ShoppingCart");

We generate some additional JavaScript after introspection of the references the implements all the the plumbing code to
support JSON-RPC and ATOM and the Reference class wrapping the references that you can use in your business logic.

 <script type="text/javascript" src="store.js"></script>

Some of the demo code can be found here.

InfoQ: What about the support for BPEL?

Luciano: It's not complete yet. Services are supported, but references are not. I am currently involved in completing that effort. Properties are not supported either, but they will require an extension to the BPEL language. This may come next if it is requested by the community. I have just updated the BPEL implementation guide.

InfoQ: What's coming ahead ?

JS: The Tuscany community will have to decide (as we're just getting 1.1 out) but I envision progress in the following areas:

  • simpler and more complete SCA policy support
  • more policies (making progress with the transaction policy)
  • improved end-to-end SCA contribution / deployment / distribution story
  • an SCA domain administration application
  • integration with Geronimo (there's a prototype in the Geronimo sandbox)
  • improvements of the Web 2.0 bindings (maybe using Apache Abdera for ATOM and adding cross-domain support to the JSONRPC binding)
  • optimizations of the Tuscany databinding support
  • more platform integration testing (Tomcat, Geronimo etc.)

InfoQ: How does IBM markets Apache Tuscany in the WebSphere brand?

JS: More information can be found here, but basically IBM's WebSphere Application Server v6.1 SOA feature pack leverages Apache Tuscany to provide an implementation of SCA.

Thank you !

  • This article is part of a featured topic series on SOA
Congratulations on the release by Paul Fremantle Posted
  1. Back to top

    Congratulations on the release

    by Paul Fremantle

    Well done to the Tuscany team on this release.

    Paul

Educational Content

New-age Transactional Systems - Not Your Grandpa's OLTP

John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.

Cool Code

Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.

Collaboration: At the Extremities of Extreme

Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.

Yesod Web Framework

Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).

Transactions without Transactions

Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.