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 Eclipse Distribution License [ Wikidata ]
7-455: Originally, the Glassfish project developed two semi-independent projects: In June 2007, it was decided to bundle these two components as a single component named Metro . 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
14-481: Is accessible using the URL http://localhost:8080/axis/Calculator.jws. If you are running a custom configuration of Apache Tomcat or a different container, the URL might be different. Custom Web service deployment requires a specific deployment descriptor called WSDD (Web Service Deployment Descriptor) syntax. It can be used to specify resources that should be exposed as Web services. Current version (1.3) supports When
21-550: Is the file extension. Another difference is that jws files are deployed as source code and not compiled class files . The following example will expose methods add and subtract of class Calculator. Once the Axis servlet is deployed, you need only to copy the jws file to the Axis directory on the server. This will work if you are using an Apache Tomcat container. In the case that you are using another web container, custom WAR archive creation will be required. JWS Web service
28-613: Is used in virtually every Java Web Services framework ( Apache Axis2 , Codehaus XFire , Apache CXF ) and Application Servers. Apache Axis Apache Axis ( A pache e X tensible I nteraction S ystem) is an open-source , XML based Web service framework. It consists of a Java and a C++ implementation of the SOAP server, and various utilities and APIs for generating and deploying Web service applications. Using Apache Axis, developers can create interoperable, distributed computing applications. Axis development takes place under
35-474: 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. 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: The JAXB reference implementation developed for Metro
42-647: The auspices of the Apache Software Foundation . When using the Java version of Axis, there are two ways to expose Java code as Web service. The easiest one is to use Axis native JWS (Java Web Service) files. Another way is to use custom deployment. Custom deployment enables you to customize resources that should be exposed as Web services. See also Apache Axis2 . JWS files contain Java class source code that should be exposed as Web service. The main difference between an ordinary java file and jws file
49-457: 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: Supported WS-* Standards Supported Transport protocols include: Metro augments
#288711