- Taschenbuch: 316 Seiten
- Verlag: O'Reilly & Associates; Auflage: 1 (27. Februar 2009)
- Sprache: Englisch
- ISBN-10: 059652112X
- ISBN-13: 978-0596521127
- Größe und/oder Gewicht: 17,8 x 1,7 x 23,3 cm
- Durchschnittliche Kundenbewertung: 4 Kundenrezensionen
- Amazon Bestseller-Rang: Nr. 230.323 in Fremdsprachige Bücher (Siehe Top 100 in Fremdsprachige Bücher)
Java Web Services: Up and Running (Englisch) Taschenbuch – 27. Februar 2009
Kunden, die diesen Artikel gekauft haben, kauften auch
Es wird kein Kindle Gerät benötigt. Laden Sie eine der kostenlosen Kindle Apps herunter und beginnen Sie, Kindle-Bücher auf Ihrem Smartphone, Tablet und Computer zu lesen.
Geben Sie Ihre Mobiltelefonnummer ein, um die kostenfreie App zu beziehen.
With this example-driven book, you get a quick, practical, and thorough introduction to Java's API for XML Web Services (JAX-WS) and the Java API for RESTful Web Services (JAX-RS). "Java Web Services: Up and Running" takes a clear, no-nonsense approach to these technologies by providing you with a mix of architectural overview, complete working code examples, and short yet precise instructions for compiling, deploying, and executing a sample application. You'll not only learn how to write web services from scratch, but also how to integrate existing services into your Java applications. All the source code for the examples is available from the book's companion website. With "Java Web Services: Up and Running", you will: understand the distinction between SOAP-based and REST-style services; focus on the WSDL (Web Service Definition Language) service contract; understand the structure of a SOAP message and the distinction between SOAP versions 1.1 and 1.2; learn various approaches to delivering a Java-based RESTful web service, and for consuming commercial RESTful services; know the security requirements for web services, both SOAP- and REST-based; and learn how to implement JAX-WS in various application servers. Ideal for students and experienced programmers alike, "Java Web Services: Up and Running" is the concise guide you need to get going on this technology right away.
Über den Autor und weitere Mitwirkende
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.
Welche anderen Artikel kaufen Kunden, nachdem sie diesen Artikel angesehen haben?
Nice examples... A little too much code in it.
Die umfangreichen Codebeispiele sind - gerade für Anfänger - sehr hilfreich. Eine gewisse gedankliche Transferleistung ist aber natürlich notwendig.
Die hilfreichsten Kundenrezensionen auf Amazon.com (beta)
The errors are not trival if you are trying to learn by focusing on what exactly the code is doing. In one example in the first chapter, there is a whole class left out of the source code, nor does the book mention it in the text.
Go to the errata section on the publishers website, the list of errors is long. The error I mention above is not in the errata either.
How does a book like this get out to the store shelves without proper editing?
If this is the best the author can do, please don't screw over the readers that are making their best efforts to get it right. If you would rather write a conceptual book, that's fine, just leave the details out.
The author also appears to ignore other common industry practice or industry norm. E.g. in the RestfulTeams service (page 137), information about the new team to create is contained in the HTTP header rather than in the body of the HTTP request to demonstrate "the flexibility of REST-style services".
While it is interesting to show it is possible to develop a Dispatch client against a SOAP based service with HTTP_BINDING (page 158), the author does not even mention the better, easier and more concise alternative, i.e., to use the default SOAP_BINDING for the Dispatch client.
Section 5.3.2 HTTP BASIC Authentication (page 212) is another example of abusing a well defined and well understood IT industry terminology, while the true HTTP BASIC Authentication (on Tomcat) is covered under another section (page 219, Container-Managed Authentication and Authorization) without explicitly lableing it as such.
Overall, the first 120 pages is a good introduction to JAX-WS 2.1. The rest of the book appears to be filler from various lecture notes.
I must say I am really disappointed with the coverage of this topic. Not many pages are devoted to it, and there are also some flaws in the presentation of REST and in the examples. For example when describing HTTP GET, the author equals "side-effect-free" with "idempotent", which is wrong. The Representations (the XML-formats) are strange, for GET they are serialized Java-objects without any semantics, for POST they are XMLs with the verb <create_team> as the root-tag.
The presentation of JAX-RS (Jersey) is only 4 pages, and far from what I need to do something useful.
As for the rest of the book I don't know, so the rating is based on the presentation of REST and JAX-RS.
I bought this book together with the "Java SOA Cookbook" by Eben Hewitt, and I also have read "RESTful Web Services" by Leonard Richardson. The chapter on REST and JAX-RS in the "Java SOA Cookbook" if faaar better, and "RESTful Web Services" is a good general introduction to REST.
Anyhow, back to the review. This book has actually many fine points: it's code driven, to the point, informal and packed with interesting info...so why do I give it only 3 stars? Well.. because it s' too informal and packed with info. This book reminds me of an old professor of mine who was really a brilliant experimental physics researcher but a lousy teacher.. he would start explaining something, than his mind would jump to something barely related to that, and then, hey wait there is also this other thing I need to tell you about.. You get the point. This book has similar flaws, it touches many subjects but fails to dedicate enough space and coherence to give you a solid foundation on which to build on with your experience.
Web Services technology is too complicated (read an over-engineered mess) to be covered in sufficent solid detail in a 300 pages book. The author should have doubled the size of the book or halved the span of its contents. I hope he will choose the first option in a second edition. Till then, it remains more of a book written for its author then for its readers...
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.