Metro SOAP and REST Web Service presentation slides, video and audio from JavaOne 2008 are available online in the areas of Java and .NET 3.x interop; other ways to interop between Java and .NET; overviews of Metro and Jersey; using REST. If you missed these sessions or want to see them again, I've provided links, presenters and abstracts. Enjoy!
Harold Carr, Sun Microsystems, Inc.; Kevin Wittkopf, Microsoft
This session demonstrates business-level interoperability requirements and scenarios such as federated security, reliability, and transactional integrity across orchestrated business processes. The demonstrations are presented by Sun and Microsoft engineers using Sun's Project Metro web services stack and Microsoft's .NET Framework 3.5.
You will learn about Java APIs for XML Web Services (JAX-WS) and .NET 3.5 (Windows Communications Foundation [WCF]) and how web services can be created in the NetBeans IDE, deployed in Project GlassFish, and easily consumed within WCF/.NET 3.5 by use of Visual Studio 2008 on Windows Vista and Server 2008 (and vice versa).
The session is based on demonstrations involving the creation and consumption of XML web services that utilize standard WS-* protocols to support secure, reliable, and transacted interactions. The demos are centered on common business scenarios, such as Microsoft Office clients' retrieving/updating data from Java technology-based web services, and multiparty service orchestrations such as retailer/wholesaler interactions.
Marina Fisher, Sun Microsystems, Inc.; Peter Laudati, Microsoft
With the majority of enterprises embracing Java technology and .NET technologies within their solution stack, it's important to ensure seamless interoperability across these technologies. This cosponsor session covers multiple ways to create an interoperable environment within the enterprise and in newer rich Internet application scenarios in the Web 2.0 world. Interoperability techniques to be covered include the following:
- Synchronous and asynchronous options across multiple application tiers such as web services, messaging, bridging with .NET remoting, and database interoperability
- Enabling .NET and Java platform interoperability, using WCF and WSIT (Project Tango) with REST and SOAP
- Rich Internet application interoperability with Silverlight and JavaFX technology, using underlying Java technologies and .NET web services
- Ajax application interoperability, using ASP.NET Ajax and Java technology-based web services
Jitendra Kotamraju, Sun Microsystems, Inc.; Marek Potociar, Sun Microsystems, Inc.
This session highlights the latest features and the roadmap of Metro, the GlassFish project web services stack. The presentation includes plenty of code samples and demos to describe the features and achieve interoperability.
The main features discussed are the following:
- Programming model (Ant/Maven/Spring)
- Ease of use
- Diagnostic capabilities
- Fault tolerance
- Performance and scalability
The session ends with a demo.
Marc Hadley, Sun Microsystems, Inc.; Paul Sandoz, Sun Microsystems, Inc.
Lightweight RESTful approaches have emerged as a popular alternative to SOAP-based technologies for deployment of services on the Internet. However, development of such services with the Java platform is significantly more complex than development of SOAP-based services, due to the low-level nature of the current platform APIs.
The goal of the Java API for RESTful Web Services (JAX-RS) is to provide a high-level declarative programming model for such services that is easy to use and encourages development according to REST tenets. Services built with this API are deployable with a variety of Web container technologies and benefit from built-in support for best-practice HTTP usage patterns and conventions.
This session provides a brief REST primer, followed by an overview of the JAX-RS API that leads developers through the design process for a sample RESTful service. The API discussion is illustrated with live code demonstrations.
Roderico Cruz, Sun Microsystems, Inc.; Peter Liu, Sun Microsystems, Inc.
The session includes live demos of code generation with the NetBeans 6.0 IDE that illustrate the techniques described in the presentation. It also discusses the architecture used by the generated code, including the persistence, converter, service, and client layers.
This Hands-on Lab starts by developing a simple Metro web service and showing how to enhance this web service with Metro features such as reliability and security. The next part of the lab enables a web service client with Metro security features and has it interoperate with the previously built service. The lab shows the ease of development the NetBeans 6.0 release provides for achieving this.
Building SOAP and RESTful web services (LAB-8420LT)
This hands-on lab will illustrate the interaction between SOAP and RESTful web services and other Web 2.0 technologies. Step by step, you will be walked through the building and consumption of SOAP and RESTful web services. The advantages of these services will be discussed and the differences between them will be highlighted. The tooling provided by NetBeans IDE 6.0 will be used throughout. The goal is to learn the two different approaches and how they can coexist in your Web 2.0 application.