Welcome to the Cafe Gift Shop

Gifts Books


Java Web Services: Up and Running

Java Web Services: Up and RunningAuthor: Martin Kalin
Publisher: O'Reilly Media
Category: Book

List Price: $34.99
Buy New: $19.82
as of 7/31/2010 15:26 MDT details
You Save: $15.17 (43%)



New (37) Used (18) from $13.91

Seller: betterbks
Rating: 4.5 out of 5 stars 16 reviews
Sales Rank: 70891

Media: Paperback
Edition: 1
Pages: 320
Number Of Items: 1
Shipping Weight (lbs): 0.9
Dimensions (in): 9 x 6.9 x 0.7

ISBN: 059652112X
Dewey Decimal Number: 006.76
EAN: 9780596521127
ASIN: 059652112X

Publication Date: February 12, 2009
Availability: Usually ships in 1-2 business days

Features:
  • ISBN13: 9780596521127
  • Condition: New
  • Notes: BUY WITH CONFIDENCE, Over one million books sold! 98% Positive feedback. Compare our books, prices and service to the competition. 100% Satisfaction Guaranteed

Also Available In:

  • Kindle Edition - Java Web Services: Up and Running

Similar Items:


Editorial Reviews:

Product Description

This example-driven book offers a thorough introduction to Java's APIs for XML Web Services (JAX-WS) and RESTful Web Services (JAX-RS).

Java Web Services: Up and Running takes a clear, pragmatic approach to these technologies by providing a mix of architectural overview, complete working code examples, and short yet precise instructions for compiling, deploying, and executing an application. You'll learn how to write web services from scratch and integrate existing services into your Java applications. With Java Web Services: Up and Running, you will:

  • Understand the distinction between SOAP-based and REST-style services
  • Write, deploy, and consume SOAP-based services in core Java
  • Understand the Web Service Definition Language (WSDL) service contract
  • Recognize the structure of a SOAP message
  • Learn how to deliver Java-based RESTful web services and consume commercial RESTful services
  • Know security requirements for SOAP- and REST-based web services
  • Learn how to implement JAX-WS in various application servers

Ideal for students as well as experienced programmers, Java Web Services: Up and Running is the concise guide you need to start working with these technologies right away.




Customer Reviews:
Showing reviews 1-5 of 16



5 out of 5 stars This book on Web services actually starts at the beginning   April 5, 2009
calvinnme
5 out of 6 found this review helpful

I've found this to be a very easy to read introductory book on Web services, precisely because it begins at the beginning and even answers the question "What are web services and what is their appeal?" Web services support language transparency because the service and its clients need not be written in the same language. It is this language transparency that is the key to web service interoperability, and is the basis of the appeal of web services as they are now defined. To underscore this appeal, clients against Java web services are written in various languages such as CSharp, Perl, and Ruby, and Java clients are demonstrated that consume services written in other languages, including languages unknown. For example, The very first example in the book is a SOAP-based web service written in Java that has clients in Perl, Ruby, and Java.

Chapter two studies SOAP and the WSDL (Web Service Definition Language) closely, and illustrates how the WSDL can generate Java classes on the client side. Also of use in writing Java clients is the wsimport utility and the JAX-B (Java API for XML-Binding), both of which are covered here.

The book goes into the details of coding web services with both SOAP and REST, providing a chapter on each of these. There is a separate chapter that deals with the ongoing REST versus SOAP debate. The jist of it is that writing web services with the SOAP protocol is too complex and SOAP services can appear over-structured, while REST is based on the HTTP protocol, which makes interoperability both simple and easy. However, people must not be completely satisfied with what HTTP brings to the table since the SOAP protocol continues to thrive. I like how the author kept the technical implementation chapters separate from the debate chapter, thus adding to the clarity of both subjects.

Since Web services require security in this day and age, that topic is discussed next. The technologies available for securing web services are explored. The emphasis is on the subjects of wire-level security, user authentication and authorization, and WS-Security (WSS), which is a collection of protocols that specify encryption and decryption of information. This is a topic that is often brushed over or kept theoretical in coding-centric books such as these, but the author gets practical here and does not just stay at a high level when discussing the subject.

The book next departs from the Endpoint publisher and the Tomcat web container which has been the deployment mechanism shown so far and discusses how web services can be deployed using a Java Application Server (JAS). Glassfish is discussed at length.

The final chapter is the one I mentioned earlier on the SOAP-based versus REST-style web services debate. This chapter is written essay-style and largely avoids coding details. It gives a short history of distributed computing to present a clearer view of the choices involved in developing web services.

This book is very comprehensive incorporating a great deal of code, definitions, explanations, and well-done diagrams. This is a fast-moving field in which books become out-of-date quickly, and it is good to have a very recent, readable, and comprehensive text for newcomers. The only prerequisites that I can see are to have an understanding of programming in the Java language, XML, and the basics of data communication across a network.



5 out of 5 stars Great introduction to Java web services   March 29, 2009
Erik Gfesser (Lombard, IL United States)
7 out of 9 found this review helpful

As an alumnus of the university at which the well-known Richard Johnsonbaugh / Martin Kalin duo teach as professors, this reviewer is aware of the fact that these gentlemen typically receive positive feedback by their students (they teach at the undergraduate level and so this reviewer cannot attest to this feedback). However, teaching is different than writing, and this reviewer has generally not had positive experiences with their writings (see for example the first review by this reviewer, on "Schaum's Outline of Discrete Mathematics", in which this reviewer recommended that book as an alternative to Richard Johnsonbaugh's "Discrete Mathematics: Fourth Edition"). The book at hand, "Java Web Services: Up and Running", is a break from this stereotype because it is a great introduction to Java web services from various angles. While Kalin provides enough theory to propel the reader into good understanding of the programming material, this book is essentially a programming text, and because the bulk of the content consists of working programming examples, the risk that the complaints often heard by readers about lack of practical code might arise should be alleviated. Another strength of this book is the use of many of the latest implementations of Java libraries in this space, although with any technical text of this genre the field is moving quickly and so it is at risk of becoming obsolete from an implementation perspective in the near future (although just partially, because many libraries are backward-compatible, at least to some extent). For example, the cover of this text states that it includes material on JAX-WS 2.1, but the reference implementation of the technology, Glassfish Metro, is already planning a May 2009 release of JAX-WS 2.2, just a few months after book publication. Another strength of this book is its coverage of web services security in easy to understand language, including transport level security, message level security, and the WS-Security specification, with working examples throughout the chapters dedicated to these topics. While XML configuration files do come into play to some respect within the discussions, the focus is on programmatic use of associated libraries. This provides the benefit to those new to these technologies of understanding what is happening under the covers that are offered by technologies now being offered by various IDEs. While Kalin does mention that there are tradeoffs to be made in using these libraries programmatically, however, it is very curious that the Spring Framework is not mentioned (see my review for "Spring in Action" by Craig Walls, for example). Kalin discusses the fact that message level security is more tedious than transport level security, and seems to prefer HTTPS to avoid this additional complexity, but since only programmatic, reference implementations are discussed the benefits of using Spring are completely missed. And as someone experienced with Apache Axis, Apache Axis2, Apache CXF, and Glassfish Metro, the beneficial abstraction that Spring provides is something this reviewer thinks that those new to Java web services should not ignore after they understand the material presented in this text. But for what this text claims to be, a "thorough introduction to Java's APIs for both XML Web Services (JAX-WS) and RESTful Web Services (JAX-RS)" that "takes a clear pragmatic approach to these technologies by providing a mix of architectural overview, complete working code examples, and short yet precise instructions for compiling, deploying, and executing an application", this book hits the bull's-eye.


5 out of 5 stars Details AND Usability...excellent work   April 30, 2009
M. Streit (Atlanta, GA)
2 out of 2 found this review helpful

A very practical and useful, yet comparatively short book that covers what you really need to know and focuses on making JAX-WS and JAX-RS (REST) work. The author does an excellent job on this subject. O'reilly publishing has been slow to release new Web Services titles so this was great to see. Detailed explanations of RPC and DOC LITERAL styles, the differences that result in generated WSDL between the two, JAXB, and how to work with Handlers to access or manipulate SOAP Header data are CLEARLY explained in the first 3 chapters alone. What makes the book so good is that the author focuses in on the HOW and WHY getting right to the code and explaining clearly what is being done. My only suggestion thus far would be to add a section covering the use Ant for JAX-WS tasks used in building and packaging the applications. Other than that, the book is outstanding.


5 out of 5 stars Nice and easy   September 8, 2009
Pedro Delgado (Aguascalientes, Mexico)
1 out of 1 found this review helpful

Don't be misguided from the fact that this is a short book, it is short because contains only the necessary to get you started with webservices, no bloated writing. It's very easy to read, good real world examples again respectable providers, reviews many frameworks for REST, straight forward explanation of WSDL and SOAP handling, deploying web services for dev but also for tomcat and glassfish, and the examples client in Perl and Ruby are welcome as well(personally I would like to see more ruby). This book is very practical, if you don't have time or the will to spend your time reading a 900 pages book just to learn how to create a simple webservice, then buy this book you won't regret it. The only minor flaw I found is that most of the examples aren't written with the Java convention for naming, but it's an small improvement they could make for a next edition.


5 out of 5 stars Good book, good examples but it all requires prior knowledge   May 11, 2010
Diogo Gonzaga (Brazil)
1 out of 1 found this review helpful

This is a good book, although some examples don't work actually. The most appeal thing is this book is that examples include some codes from other Java APIs like XML for instance, and how to use them in WebServices development. About the main topic I would say this book was perfect for my needs. I'm new in Webservices and I could make a tour using SOAP and RESTful webservices, and it was very interesting for me.
I just want to warn some readers, specifically those who don't have prior knowledge in advanced concepts like dependency injection and servlets, that this book requires this knowledge.


Showing reviews 1-5 of 16


java  soa  soap  web services  webservices  
CERTAIN CONTENT THAT APPEARS ON THIS SITE COMES FROM AMAZON SERVICES LLC. THIS CONTENT IS PROVIDED ‘AS IS’ AND IS SUBJECT TO CHANGE OR REMOVAL AT ANY TIME.