Deploying Web Services in Apache Geronimo

Source: Internet
Author: User
Tags soap web services wsdl

Do you want to determine if an application server supports WEB service development work? The Apache Geronimo Application Server fully meets this requirement and is one of the newest projects for Apache Software Foundation. Java™ expert Kunal Mittal will introduce you to Geronimo's Web services functionality by demonstrating how to write and develop standard Java EE Web service code in Geronimo. You will learn how to use the Apache Axis based on the underlying simple Object Access Protocol (SOAP) implementation, using the Amazon Web service, and also know how to use a simple, JavaServer-page client to access the Web service.

Geronimo supports WEB service standards

The new Apache Geronimo project is a powerful open source Java application Server built on the basis of the first class Java EE 1.4 standard. It uses a variety of open source implementations and will soon be compatible with Java EE. Interestingly, Geronimo builds on a collection of code collected from many other open source projects. Geronimo uses the Apache Axis and Apache Scout to support the following WEB service standards:

Java specification Request (JSR) 109 (implementing Enterprise Web Services 1.1)

Java API for xml-based Remote Procedure call (AX-RPC)

SOAP with Attachments APIs for Java (SAAJ) 1.2

Java API for XML registries (JAXR) 1.0

When you identify an application server to support Web service development work, only the above criteria can be met to make Geronimo a viable approach. If you use an open source project that makes up Geronimo, you will naturally convert Geronimo to your deployment container. To make it easier to develop and deploy Java-EE applications on Geronimo, you also need to provide multiple Eclipse plug-ins.

Take the Amazon Web services (AWS) example to learn how to use Web services and Geronimo. You will be guided throughout by the introduction of the Web Services Description Language (WSDL) used for AWS and by building consumer code using Apache Axis. Learn about simple Java classes that use Web services and learn how to call this class from a JSP file to display the results of a Web service. Finally, bind the code to a Java-ee WAR file and deploy it on Geronimo.

Using the Amazon Web service

To use AWS, the Apache Axis needs to be used as a SOAP implementation to build a service consumer (consumer). (Axis is the underlying SOAP implementation that Geronimo supports). If you've done this in the past and you have this code, you can skip this step.

When writing this article, Geronimo is not yet a product-level available application server, but it will be certified by Java EE. When you publish Geronimo, it will be the certified Java EE 1.4.

Requirements for generating AWS code

Start with the settings environment first. To generate AWS consumer code, you need to meet the following 4 requirements:

Java Software Development Kit (JDK) 1.4.2 or updated version.

Apache Axis 1.1 or later.

The Web Service Description Language (WSDL) for the Web service.

An AWS subscription ID from Amazonan so that its Web service can be used.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.