Java Web Services: Up and Running

Overview

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 ...

See more details below
Paperback (Second Edition)
$23.12
BN.com price
(Save 42%)$39.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (16) from $15.99   
  • New (9) from $22.07   
  • Used (7) from $15.99   
Java Web Services: Up and Running

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$18.99
BN.com price
(Save 44%)$33.99 List Price

Overview

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
Read More Show Less

Product Details

  • ISBN-13: 9781449365110
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 9/17/2013
  • Edition description: Second Edition
  • Edition number: 2
  • Pages: 360
  • Sales rank: 480,846
  • Product dimensions: 7.06 (w) x 9.12 (h) x 0.76 (d)

Meet the Author

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.

Read More Show Less

Table of Contents

Preface;
What’s Changed in the Second Edition?;
Web Service APIs and Publication Options;
Chapter-by-Chapter Overview;
Tools and IDEs;
Conventions Used in This Book;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Acknowledgments;
Chapter 1: Web Services Quickstart;
1.1 Web Service Miscellany;
1.2 What Good Are Web Services?;
1.3 Web Services and Service-Oriented Architecture;
1.4 A Very Short History of Web Services;
1.5 What Is REST?;
1.6 Review of HTTP Requests and Responses;
1.7 HTTP as an API;
1.8 A First RESTful Example;
1.9 Why Use Servlets for RESTful Web Services?;
1.10 What’s Next?;
Chapter 2: RESTful Web Services: The Service Side;
2.1 A RESTful Service as an HttpServlet;
2.2 A RESTful Web Service as a JAX-RS Resource;
2.3 A RESTful Web Service as Restlet Resources;
2.4 A RESTful Service as a @WebServiceProvider;
2.5 What’s Next?;
Chapter 3: RESTful Web Services: The Client Side;
3.1 A Perl Client Against a Java RESTful Web Service;
3.2 A Client Against the Amazon E-Commerce Service;
3.3 A Standalone JAX-B Example;
3.4 Another Client Against the Amazon E-Commerce Service;
3.5 The CTA Bus-Tracker Services;
3.6 RESTful Clients and WADL Documents;
3.7 The JAX-RS Client API;
3.8 JSON for JavaScript Clients;
3.9 What’s Next?;
Chapter 4: SOAP-Based Web Services;
4.1 A SOAP-Based Web Service;
4.2 The RandService in Two Files;
4.3 Clients Against the RandService;
4.4 The WSDL Service Contract in Detail;
4.5 SOAP-Based Clients Against Amazon’s E-Commerce Service;
4.6 What’s Next?;
Chapter 5: SOAP Handlers and Faults;
5.1 The Handler Level in SOAP-Based Services and Clients;
5.2 Handlers and Faults in the predictionsSOAP Service;
5.3 A Handler Chain with Two Handlers;
5.4 SOAP-Based Web Services and Binary Data;
5.5 The Transport Level;
5.6 Axis2;
5.7 What’s Next?;
Chapter 6: Web Services Security;
6.1 Wire-Level Security;
6.2 A Very Lightweight HTTPS Server and Client;
6.3 HTTPS in a Production-Grade Web Server;
6.4 Container-Managed Security;
6.5 WS-Security;
6.6 What’s Next?;
Chapter 7: Web Services and Java Application Servers;
7.1 The Web Container;
7.2 Toward a Lightweight JAS;
7.3 GlassFish Basics;
7.4 Servlet-Based Web Services Under GlassFish;
7.5 An Interactive Website and a SOAP-Based Web Service;
7.6 A @WebService as a @Stateless Session EJB;
7.7 TomEE: Tomcat with Java EE Extensions;
7.8 Where Is the Best Place to Be in Java Web Services?;
Index;
Colophon;

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)