天天看點

Study Resources of Web Services with Java

最近收到幾個朋友得來信都聊到了學習Web Services的資料問題,在這裡簡單小結一下,也算是偷一下懶,下回遇到同樣的問題我就改發這個連結了:)。

對于初學者,可以通過下面兩本書來熟悉規範了解Java的WebService構架的結構以及使用方法

1.The Java Web Services Tutorial

SUN的官方教材,教程先從使用JAXWS API入手,教你如何使用JAXWS API釋出Web Services以及如何調用遠端的Web Services。

然後介紹了JAXB的使用方法,能夠幫助讀者輕松搞定WebServices中XML與Java Object的轉換問題。

Stax作為新一代的Java XML處理API,采用了基于流的處理方式,極大得提高了Java Web Services的處理效率。教程對此API也有比較相信的介紹。

同時教材還提供了有關SAAJ(SOAP with Attachments API for Java),以及Web Services Security的内容的介紹。

2. SOA: Using Java Web Services

http://soabook.com/

這本書介紹了很多Java Web Services架構實作細節的東西(很務實),特别是對JAXWS系列的規範有比較詳細的介紹,同時書中還給出eBay以及Amazon的WebService的調用執行個體。

下面是從Glen blog 摘抄的書評

"Strengths of this book:

   1. Good introductions and working code to Yahoo! Shopping RESTful Web services as well as eBay and Amazon SOAP-based web services are provided in Chapter 9. This provides a solid starting point for readers to move beyond book knowledge and start practicing with these publicly available API's.

   2. Fairly detailed code samples to work with, covering a broad range of topics, which provide another good starting point for developers.

   3. I have often gone back to the book to find details or review certain topics, so have found that it continues to serve as a good reference after you are done reading it."

當然網上也有很多免費的教育訓練教程,例如

FREE Web Services Training - 3rd session

如果你對SOA以及WS*感興趣,或者你的關注點并不局限API代碼,哪你還可以翻閱一下IONA CTO NewComer 寫的Understanding SOA with Web Services

還有就是加入cxf-zh中文論壇,作為第一CXF的中文論壇,CXF在北京的開發者都會在該論壇上回複大家的有個WebServices 以及使用CXF遇到的問題。

最後如果想了解業界的最新進展,可以訂閱相關的Blog

有關Blog的資訊請參考cxf-zh 最近的讨論