Eclipse Metro
Web service stack
title: "Eclipse Metro" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["web-services", "java-enterprise-platform", "free-software-programmed-in-java"] description: "Web service stack" topic_path: "general/web-services" source: "https://en.wikipedia.org/wiki/Eclipse_Metro" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0
::summary Web service stack ::
::data[format=table title="Infobox software"]
| Field | Value |
|---|---|
| name | Metro |
| logo | |
| collapsible | |
| screenshot | |
| author | Sun Microsystems |
| developer | Eclipse Foundation |
| released | |
| ver layout | |
| discontinued | |
| latest release version | 3.0.1 |
| latest release date | |
| latest preview date | |
| repo | |
| programming language | Java |
| engine | |
| platform | Jakarta EE |
| language count | |
| genre | web service framework |
| license | |
| website | |
| :: |
| name = Metro | logo = | logo caption = | logo alt = | logo size = | collapsible = | screenshot = | screenshot size = | screenshot alt = | caption = | other_names = | author = Sun Microsystems | developer = Eclipse Foundation | released = | ver layout = | discontinued = | latest release version = 3.0.1 | latest release date = | latest preview version = | latest preview date = | repo = | qid = | programming language = Java | middleware = | engine = | operating system = | platform = Jakarta EE | included with = | replaces = | replaced_by = | service_name = | size = | standard = | language = | language count = | language footnote = | genre = web service framework | license = | website = | AsOf = Metro is a high-performance, extensible, easy-to-use web service stack. Although historically an open-source part of the GlassFish application server, it can also be used in a stand-alone configuration. Components of Metro include: JAXB RI, JAX-WS RI, SAAJ RI, StAX (SJSXP implementation) and WSIT. Originally available under the CDDL and GPLv2 with classpath exception, it is now available under
History
Originally, the Glassfish project developed two semi-independent projects:
- JAX-WS RI, the Reference implementation of the JAX-WS specification
- WSIT, a Java implementation of some of the WS-* and an enhanced support for interoperability with the .NET Framework. It is based on JAX-WS RI as "Web Service layer".
In June 2007, it was decided to bundle these two components as a single component named Metro.
Features
Metro compares well with other web service frameworks in terms of functionality. Codehaus started a comparison which compared Apache Axis 1.x, Axis 2.x, Celtix, Glue, JBossWS, Xfire 1.2 and JAX-WS RI + WSIT (the bundle was not yet named Metro at that time). This was later updated by the ASF to replace Celtix with CXF and to include OracleAS 10g.
Metro includes JAXB RI, JAX-WS RI, SAAJ RI, SJSXP, and WSIT, along with libraries that those components depend on, such as xmlstreambuffer, mimepull, etc.
Its features include:
- Basic Profile 1.1 Compliant
- Easily Create Services from POJOs
- RPC-Encoding
- Spring Support
- REST Support
- Soap 1.1/1.2
- Streaming XML (StAX based)
- WSDL 1.1 -Code (Client)/(Server)
- Server and Client-side Asynchrony
Supported WS-* Standards
Supported Transport protocols include:
- HTTP
- JMS
- SMTP/POP3
- TCP
- In-VM
Metro augments the JAX-WS environment with advanced features such as trusted, end-to-end security; optimized transport (MTOM, Fast Infoset), reliable messaging, and transactional behavior for SOAP web services.
Market share
Metro is bundled with Java SE 6 in order to allow consumers of Java SE 6 to consume Web Services.
Metro is bundled with numerous application servers such as:
- GlassFish
- Sun Java System Application Server Platform Edition 9.x
- Oracle WebLogic Server
- JBoss (version 5.x only)
- TmaxSoft JEUS 6.x
The JAXB reference implementation developed for Metro is used in virtually every Java Web Services framework (Apache Axis2, Codehaus XFire, Apache CXF) and Application Servers.
References
References
- "metro: Discover Metro".
- "metro: Metro FAQ".
- Gupta, Arun. (2007-06-19). "Announcing Metro - Naming the Web Services stack in GlassFish".
- "Stack Comparison".
- "StackComparison".
- "Metro".
- "JAX-WS FAQ".
- Gupta, Arun. (2007-07-22). "Metro - Now on Tomcat 6.x also".
::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::