Metro Hands-on Lab at JavaOne 2008
Fabian
Ritzman, Martin Grebac
and I have developed a hands-on lab on Metro Web Services for 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: https://www28.cplan.com/cc191/session_details.jsp?isid=296941&ilocation_id=191-1&ilanguage=english
The title of the lab is "Metro: Try Out Simple and
Interoperable
Web Services". Session ID is 3410. The lab takes place on Tuesday,
10:50 - 12:50. Here is the complete
abstract:
Metro is a high-performance, extensible, easy-to-use web
service
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
and
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
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.
The lab uses the NetBeans 6.0 release to modify and configure
both
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
service
Metro Security
- Enable security on the catalog web service, and examine the
messages
- Configure the Metro client for the catalog web service
(from the previous exercise) for secure access to the secure web
service
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,
JavaOne
