Web Services with NetBeans Tutorial http://www.netbeans ...

moodusroundoΛογισμικό & κατασκευή λογ/κού

15 Αυγ 2012 (πριν από 5 χρόνια και 4 μήνες)

633 εμφανίσεις

Web Services with NetBeans Tutorial

http://www.netbeans.org/kb/61/websvc/intro
-
ws.html


1.

Introduction to Web Services


Web services are distributed application components that are externally
available. You can use them to integrate computer applications that are
written in differ
ent languages and run on different platforms. Web services
are language and platform independent because vendors have agreed on
common web service standards.


Several
program
m
ing

models are available to web service developers.
These models fall into two ca
tegories, both supported by the IDE:

A.

RESTful Web Services

i.

REST
-
based. REpresentational State Transfer is a new way to create
and communicate with web services. In REST, resources have URIs
and are manipulated through HTTP header operations.

B.

SOAP
-
based Web
Services

i.

SOAP/WSDL
-
based. In traditional web service models, web service
interfaces are exposed through WSDL documents (a type of XML),
which have URLs. Subsequent message exchange is in SOAP,
another type of XML document.

2.

Getting Started with JAX
-
WS Web Services

A.

Creating a Web Service

i.

Choosing a Container

ii.

Creating a Web Service from a Java Class

B.

Designing the Web Service

i.

Adding an Operation to the Web Service

C.

Deploying and Testing the Web
Service

D.

Consuming the Web Service

i.

A

Java Class in a Java SE Application

ii.

A

servlet in a web application

iii.

A

JSP page in a web application

3.

Developing JAX
-
WS Web Service Clients

A.

Consuming the
Spell Checker Web Service

i.

Creating the Client

ii.

Developing the Client

1.

Coding the JSP Page

2.

Creating and Coding the Spell Check Servlet

iii.

Deploying the Client

B.

Applying What You Have Learned

4.

Binding W
SDL to Java with JAXB

A.

Generating Java Objects from XML Documents

B.

Examining the JAXB Wizard Output

C.

Using the Java Objects

5.

Consuming StrikeIron Web Services in Web Applications

A.

Creating a W
eb Project

B.

Designing the Web Page

C.

Implementing the Web Page

D.

Testing the Web Page

E.

Looking for More StrikeIron Services

6.

Getting Started with RESTful Web Services

A.

Introduction

B.

Generating Entity
Classes from a Database

C.

Generating RESTful Web Services from Entity Classes

D.

Testing the RESTful Web Services

E.

Adding a Google Map Feature

F.

RESTful Web Services in the Spring Framework

7.

Advanced
Web Service Interoperability

A.

Introduction

B.

Getting to Know the Calculator Sample

C.

Getting to Know the Secured Calculator Sample

8.

EJB & Web Service Application Learning Trail

9.

Web Service Application Passing Binary Data

10.

Creating and Consuming RESTful Web Service jMaki Components

11.

SaaS: Facebook

12.

SaaS: Zillow

13.

Creating Apache Axis2 Web Services on NetBeans ID
E