Librería Portfolio Librería Portfolio

Búsqueda avanzada

TIENE EN SU CESTA DE LA COMPRA

0 productos

en total 0,00 €

JAVA WEB SERVICES: UP AND RUNNING 2E
Título:
JAVA WEB SERVICES: UP AND RUNNING 2E
Subtítulo:
Autor:
KALIN, MARTIN
Editorial:
O´REILLY
Año de edición:
2013
Materia
JAVA
ISBN:
978-1-4493-6511-0
Páginas:
340
34,50 €

 

Sinopsis

Learn how to develop REST-style and SOAP-based web services and clients with this quick and thorough introduction. This hands-on book delivers a clear, pragmatic approach to web services by providing an architectural overview, complete working code examples, and short yet precise instructions for compiling, deploying, and executing them. You'll learn how to write services from scratch and integrate existing services into your Java applications.

With greater emphasis on REST-style services, this second edition covers HttpServlet, Restlet, and JAX-RS APIs; jQuery clients against REST-style services; and JAX-WS for SOAP-based services. Code samples include an Apache Ant script that compiles, packages, and deploys web services.

Learn differences and similarities between REST-style and SOAP-based services
Program and deliver RESTful web services, using Java APIs and implementations
Explore RESTful web service clients written in Java, JavaScript, and Perl
Write SOAP-based web services with an emphasis on the application level
Examine the handler and transport levels in SOAP-based messaging
Learn wire-level security in HTTP(S), users/roles security, and WS-Security
Use a Java Application Server (JAS) as an alternative to a standalone web server

CONTENTS

Chapter 1 : Web Services Quickstart
Web Service Miscellany
What Good Are Web Services?
Web Services and Service-Oriented Architecture
A Very Short History of Web Services
What Is REST?
Review of HTTP Requests and Responses
HTTP as an API
A First RESTful Example
Why Use Servlets for RESTful Web Services?
What's Next?
Chapter 2 : RESTful Web Services: The Service Side
A RESTful Service as an HttpServlet
A RESTful Web Service as a JAX-RS Resource
A RESTful Web Service as Restlet Resources
A RESTful Service as a @WebServiceProvider
What's Next?
Chapter 3 : RESTful Web Services: The Client Side
A Perl Client Against a Java RESTful Web Service
A Client Against the Amazon E-Commerce Service
A Standalone JAX-B Example
Another Client Against the Amazon E-Commerce Service
The CTA Bus-Tracker Services
RESTful Clients and WADL Documents
The JAX-RS Client API
JSON for JavaScript Clients
What's Next?
Chapter 4 : SOAP-Based Web Services
A SOAP-Based Web Service
The RandService in Two Files
Clients Against the RandService
The WSDL Service Contract in Detail
SOAP-Based Clients Against Amazon's E-Commerce Service
What's Next?
Chapter 5 : SOAP Handlers and Faults
The Handler Level in SOAP-Based Services and Clients
Handlers and Faults in the predictionsSOAP Service
A Handler Chain with Two Handlers
SOAP-Based Web Services and Binary Data
The Transport Level
Axis2
What's Next?
Chapter 6 : Web Services Security
Wire-Level Security
A Very Lightweight HTTPS Server and Client
HTTPS in a Production-Grade Web Server
Container-Managed Security
WS-Security
What's Next?
Chapter 7 : Web Services and Java Application Servers
The Web Container
Toward a Lightweight JAS
GlassFish Basics
Servlet-Based Web Services Under GlassFish
An Interactive Website and a SOAP-Based Web Service
A @WebService as a @Stateless Session EJB
TomEE: Tomcat with Java EE Extensions
Where Is the Best Place to Be in Java Web Services?