Skip to main content

Metro Web Services Hands-on Lab at JavaOne 2008

Posted by caroljmcdonald on April 19, 2008 at 9:02 AM PDT

Metro Hands-on Lab at JavaOne 2008

, Martin Grebac
and I  have developed a hands-on lab on href="">Metro Web Services for href="">JavaOne 2008. At
JavaOne hands-on labs, you
bring your own laptop, this allows you to easily take home and reuse
the stuff you learn in the lab. We have a step by step lab doc with
screenshots etc. that you can work
through to familiarize yourself with Metro. Fabian and I will briefly
explain and demonstrate the lab exercises, then you will complete them
on your laptop. There will be proctors to help with
any questions. Hope to see you there!  You can find out more about
the lab here: href="">

The title of the lab is "Metro: Try Out Simple and
Web Services". Session ID is 3410. The lab takes place on Tuesday,
10:50 - 12:50.  Here is the complete

Metro is a high-performance, extensible, easy-to-use web
stack. You can use it for every type of web service, from simple to
reliable, secured, and transacted web services that interoperate with
.NET services. Metro bundles stable versions of the JAX-WS (Java™ API
for XML Web Services) reference implementation and WSIT (Web Services
Interoperability Technology).

JAX-WS is a fundamental technology for developing SOAP-based
RESTful Java technology-based web services. WSIT enables secure,
reliable interoperability between Java technology-based web services
and Microsoft’s Windows Communication Foundation.

This Hands-on Lab starts by developing a simple Metro web
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.

The lab uses the NetBeans 6.0 release to modify and configure
the web service and the client, using Sun’s GlassFish™ project
application server as the container. The lab uses WS-Reliability and
WS-Security as examples of Metro’s secure, reliable features.

The lab comprises the following sections:

Introduction to Metro

  • Develop and deploy a basic catalog web service to return a
    list of catalog items
  • Test the web service, using the Tester application provided
    by the GlassFish project

Metro Reliability

  • Enable reliability on the catalog web service, and examine
    the messages
  • Develop and deploy a Metro client for the catalog web
    service, and configure the client for reliable access to the web

Metro Security

  • Enable security on the catalog web service, and examine the
  • Configure the Metro client for the catalog web service
    (from the previous exercise) for secure access to the secure web

Prerequisites: some understanding of Servlets, XML, and SOAP

At JavaOne, this lab will be presented in Hall E (Room# 132).

Please bring your laptops to this lab as there no machines
provided in this room.

System requirements:

  • Supported OS: Windows 2000/XP, Solaris 10/11, Linux
  • Memory requirement: 768MB minimum, 1GB recommended
  • Disk space requirement: 300 MB

Software requirements:

Also please make sure to install the following software prior to coming
to this lab:

  • JDK 5.0 or 6
  • NetBeans 6.0.1 with Web & Java EE pack
  • GlassFish V2 UR1

Tags: Web Services,
Metro, href="">JavaOne


Related Topics >>


I am using Metro from few months now, it is fantastic :) I cannot attend J1 this year, but for sure it will be one of greatest sessions of this year... Thanks for all your articles and examples, very inspirational, very didactic. btw, my oss project based on jaxws/glassfish is here: and congratulations by your sessions at J1...