Create a stand-alone Web Services application using Eclipse and Java SE 6, part 1th

Source: Internet
Author: User
Tags new features java se

Creating a stand-alone Web Services application using Eclipse and Java SE 6, part 1th: Web Services server-side applications

Before you start

About this series

This series of tutorials demonstrates how to use Java SE 6 to create stand-alone Web services server and client applications that can easily run from the command line rather than from the Web application Servers container. With the simple Hello World example, you will use the Eclipse IDE, Java SE 6, and Apache Ant to easily create fully functional WEB Services server and client applications. You will also use TCP/IP Monitor to check traffic between the server and the client and test Web services using the Eclipse WEB Services Explorer tool.

About this tutorial

This tutorial is the 1th part of the series that will show you how to publish Web Services applications using the Eclipse IDE, Java SE 6, and Ant. This tutorial lays the groundwork for part 2nd, and part 2nd describes the creation of Web Services client applications.

Goal

After completing this tutorial, you should know:

What is a WEB service and what criteria it uses to relate to browsers used to view published Web Services Description languages (Web Services Description language,wsdl) files from Eclipse.

How to create the server side of Web Services, including how to install and configure the Eclipse IDE and the Java Development Kit (JDK) so that they work together to generate code compiled using the Java SE 6来.

How to use the Ant Java-based build tool in the Eclipse IDE to run special Java commands to generate parts of your code.

Prerequisite

This tutorial includes simple steps written for elementary and intermediate Java programmers with practical knowledge of Java language and Ant constructs. Beginners to more advanced Java developers will gain some knowledge: Learn how to build, deploy, and run stand-alone WEB Services server and distributed clients to provide firewall-friendly remote communications and application processing.

System Requirements

To follow the example, you need to download:

Eclipse IDE for Java developers

Java SE 6

You do not have to download Ant because its functionality is packaged with Eclipse. This tutorial uses the Ganymede Package for the Eclipse IDE for Java EE developers.

Setting up the development environment

Install Java SE 6

Download and install the latest Java SE 6 JDK. Java SE 6 has many new features, including the Web Services API.

Double-click the executable file and follow the installation instructions. It is recommended that you perform a typical installation and retain all default settings, such as location.

When asked, select whether you want to install the Java Runtime Environment as a system JVM, and whether you want to associate any browser with the Java plug-in.

Click Finish to begin the installation.

Closes any open browser window.

Related Article

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.