Java Web Services: Up and Running - Martin Kalin

Java Web Services: Up and Running

A Quick, Practical, and Thorough Introduction

(Autor)

Buch | Softcover
360 Seiten
2013 | 2nd Revised edition
O'Reilly Media, Inc, USA (Verlag)
978-1-4493-6511-0 (ISBN)
35,90 inkl. MwSt
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

Martin Kalin has a Ph.D. from Northwestern University and is a professor in the College of Computing and Digital Media at DePaul University. He has co-written a series of books on C and C++ and written a book on Java for programmers. He enjoys commercial programming and has co-developed large distributed systems in process scheduling and product configuration.

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?

Index
Colophon

Erscheint lt. Verlag 22.10.2013
Zusatzinfo black & white illustrations
Verlagsort Sebastopol
Sprache englisch
Maße 178 x 233 mm
Gewicht 585 g
Einbandart kartoniert
Themenwelt Informatik Programmiersprachen / -werkzeuge Java
Informatik Software Entwicklung Objektorientierung
Informatik Software Entwicklung SOA / Web Services
Mathematik / Informatik Informatik Web / Internet
ISBN-10 1-4493-6511-6 / 1449365116
ISBN-13 978-1-4493-6511-0 / 9781449365110
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
mit über 150 Workouts in Java und Python

von Luigi Lo Iacono; Stephan Wiefling; Michael Schneider

Buch (2023)
Carl Hanser (Verlag)
29,99
Einführung, Ausbildung, Praxis

von Christian Ullenboom

Buch | Hardcover (2023)
Rheinwerk (Verlag)
49,90