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.

Project Tango - WCF And Java Interop

Posted by David Totzke on May 23, 2006

Sections
Architecture & Design,
Development,
Enterprise Architecture
Topics
Java ,
Interop ,
.NET ,
Messaging ,
Java plus .NET Integration
Tags
WS-AtomicTransactions ,
WSDL ,
WS-Security ,
WS-Transfer ,
WS-Reliable Messaging ,
SOAP ,
Project Tango ,
WS-Trust ,
WS-Coordination ,
WS-MetadataExchange

Sun Microsystems has launched the open source initiative called Project Tango.  Windows Communications Foundation Engineers are working together with Java Web Services Engineers on the interoperability of enterprise features.

Project Tango focuses on five key functional areas of interoperability. 

Bootstrapping Communincation

wsimport from JAX-WS uses WS-Transfer and WS-MetadataExchange to retrieve the WSDL for a WCF service and create the consumer proxies that will be used to communicate with the service.  Using wsimport spares the developer from having to know how the metadata is used to implement the proxies. 

Optimizing Communication

Also built into the JAX-WS platform are MTOM and XOP.  This enables binary encoding of the XML content.  Content can be encoded as MIME body parts or ecapsulated in as binary-encoded XML within HTTP packets.  The net result is reduced XML size which helps to speed communication.

WS-SecureConversation is employed to establish a shared security context at the beginning of a multiple message exchange.  This reduces the security communication overhead during complex interactions that require several message exchanges.

Enabling Reliability

The WS-ReliableMessaging specification allows the underlying system to handle the recovery of message failures and removes that responsibility from application code.  Enabling reliability in a Project Tango web service is as simple as checking a checkbox in a reliability panel in NetBeans.

Enabling Atom Transactions

Project Tango implements the WS-Coordination and WS-AtomicTranscations specifications for interoperable atomic transaction support.

Securing Communications

Project Tango goes a step further than transport-based security such as SSL by implementing WS-Security to provide message security even if the message must pass through an intermediary.  WS-Trust is also implemented for the management of security tokens and establish broker trust relationships.

WCF & Java Interop tutorial series by Kevin Gao Posted
  1. Back to top

    WCF & Java Interop tutorial series

    by Kevin Gao

    I am writing a WCF & Java Interop tutorial series. The series covers different data types between Java & WCF, session management, WCF ASP.NET compatibility, SSL, Asynchronous Polling, data compression , MTOM and so on.

    These articles are based on my real world development experience of SCM Anywhere (www.scmsoftwareconfigurationmanagement.com), a SCM tool with integrated version control, bug tracking and build automation.

    The series has not been finished, but I am adding articles several times per week. Please check back for the latest articles.

    The URL of the series is:
    www.kevingao.net/wcf-java-interop

    Thanks a lot.

    -----------------------------------------------------------------
    Kevin Gao, MCSD MCDBA
    www.kevingao.net
    www.dynamsoft.com

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.