簡體周年慶
JavaWeb服務:構建與運行(英文影印版)

JavaWeb服務:構建與運行(英文影印版)

Java Web Services:Up and Running

  • 定價:288
  • 優惠價:87251
  • 運送方式:
  • 臺灣與離島
  • 海外
  • 可配送點:台灣、蘭嶼、綠島、澎湖、金門、馬祖
  • 可取貨點:台灣、蘭嶼、綠島、澎湖、金門、馬祖
載入中...
  • 分享
 

內容簡介

本書提供了對Java的API的一個全面介紹,包括針對XML Web服務的JAX-WS和針對RESTful Web服務的JAX-RS。本書通過提供混合架構概述、完整的工作代碼示例以及短而精確的編譯、部署和執行應用程序的指示,采用明確實用的方法來處理這些技術。你將學習如何從頭開始編寫Web服務以及集成現有服務到你的Java應用程序中。有了這本書,你將:

·理解基於SOAP的和REST樣式的服務的區別

·編寫、部署和使用基於SOAP的核心Java服務

·理解Web服務描述語言(WSDL)服務契約

·認識SOAP消息的結構

·學習如何交付基於Java的RESTful Web服務和消耗商業RESTful服務

·了解對基於SOAP和基於REST的Web服務的安全要求

·學習如何在各種環境下部署JAX-WS服務

不管是學生還是有經驗的程序員,當你需要立即運用這些技術展開工作時,《Java Web服務:構建與運行》都是你需要的一本理想的簡明指南。
 

目錄

Preface
1.Java Web Services Quickstart
What Are Web Services?
What Good Are Web Services?
A First Example
The Service Endpoint Interface and Service Implementation Bean
A Java Application to Publish the Web Service
Testing the Web Service with a Browser
A Perl and a Ruby Requester of the Web Service
The Hidden SOAP
A Java Requester of the Web Service
Wire-Level Tracking of HTTP and SOAP Messages
What』s Clear So Far?
Key Features of the First Code Example
Java』s SOAP API
An Example with Richer Data Types
Publishing the Service and Writing a Client
Multithreading the Endpoint Publisher
What』s Next?
2.All About WSDLs
What Good Is a WSDL?
Generating Client-Support Code from a WSDL
The@WebResult Annotation
WSDL Structure
A Closer Look at WSDL Bindings
Key Features of Document-Style Services
Validating a SOAP Message Against a WSDL』s XML Schema
The Wrapped and Unwrapped Document Styles
Amazon』s E-Commerce Web Service
An E-Commerce Client in Wrapped Style
An E-Commerce Client in Unwrapped Style
Tradeoffs Between the RPC and Document Styles
An Asynchronous E-Commerce Client
The wsgen Utility and JAX-B Artifacts
A JAX-B Example
Marshaling and wsgen Artifacts
An Overview of Java Types and XML Schema Types
Generating a WSDL with the wsgen Utility
WSDL Wrap-Up
Code First Versus Contract First
A Contract-First Example with wsimport
A Code-First, Contract-Aware Approach
Limitations of the WSDL
What』s Next?
3.SOAP Handling
SOAP: Hidden or Not?
SOAP 1.1 and SOAP 1.2
SOAP Messaging Architecture
Programming in the JWS Handler Framework
The RabbitCounter Example
Injecting a Header Block into a SOAP Header
Configuring the Client-Side SOAP Handler
Adding a Handler Programmatically on the Client Side
Generating a Fault from a @WebMethod
Adding a Logical Handler for Client Robustness
Adding a Service-Side SOAP Handler
Summary of the Handler Methods
The RabbitCounter As a SOAP 1.2 Service
The MessageContext and Transport Headers
An Example to Illustrate Transport-Level Access
Web Services and Binary Data
Three Options for SOAP Attachments
Using Base64 Encoding for Binary Data
Using MTOM for Binary Data
What』s Next?
4.RESTful Web Services
What Is REST?
Verbs and Opaque Nouns
From @WebService to @WebServiceProvider
A RESTful Version of the Teams Service
The WebServiceProvider Annotation
Language Transparency and RESTful Services
Summary of the RESTful Features
Implementing the Remaining CRUD Operations
Java API for XML Processing
The Provider and Dispatch Twins
A Provider/Dispatch Example
More on the Dispatch Interface
A Dispatch Client Against a SOAP-based Service
Implementing RESTful Web Services As HttpServlets
The RabbitCounterServlet
Requests for MIME-Typed Responses
Java Clients Against Real-World RESTful Services
The Yahoo!News Service
The Amazon E-Commerce Service: REST Style
The RESTful Tumblr Service
WADLing with Java-Based RESTful Services
JAX-RS: WADLing Through Jersey
The Restlet Framework
What』s Next?
5.Web Services Security
Overview of Web Services Security
Wire-Level Security
HTTPS Basics
Symmetric and Asymmetric Encryption/Decryption
How HTTPS Provides the Three Security Services
The HttpsURLConnection Class
Securing the RabbitCounter Service
Adding User Authentication
HTTP BASIC Authentication
Container-Managed Security for Web Services
Deploying a @WebService Under Tomcat
Securing the @WebService Under Tomcat
Application-Managed Authentication
Container-Managed Authentication and Authorization
Configuring Container-Managed Security Under Tomcat
Using a Digested Password Instead of a Password
A Secured @WebServiceProvider
WS-Security
Securing a @WebService with WS-Security Under Endpoint
The Prompter and the Verifier
The Secured SOAP Envelope
Summary of the WS-Security Example
What』s Next?
6.JAX-WS in Java Application Servers
Overview of a Java Application Server
Deploying @WebServices and @WebServiceProviders
Deploying @WebServiceProviders
Integrating an Interactive Website and a Web Service
A @WebService As an EJB
Implementation As a Stateless Session EJB
The Endpoint URL for an EBJ-Based Service
Database Support Through an @Entity
The Persistence Configuration File
The EJB Deployment Descriptor
Servlet and EJB Implementations of Web Services
Java Web Services and Java Message Service
WS-Security Under GlassFish
Mutual Challenge with Digital Certificates
MCS Under HTTPS
MCS Under WSIT
The Dramatic SOAP Envelopes
Benefits of JAS Deployment
What』s Next?
7.Beyond the Flame Wars
A Very Short History of Web Services
The Service Contract in DCE/RPC
XML-RPC
Standardized SOAP
SOAP-Based Web Services Versus Distributed Objects
SOAP and REST in Harmony
Index
 

詳細資料

  • ISBN:9787564119270
  • 規格:297頁 / 23 x 18 cm / 普通級 / 初版
  • 出版地:中國

最近瀏覽商品

 

相關活動

  • 2024曬書市集69元起,滿萬再回饋1000元E-Coupon!
 

購物說明

溫馨提醒您:若您訂單中有購買簡體館無庫存/預售書或庫存於海外廠商的書籍,建議與其他商品分開下單,以避免等待時間過長,謝謝。

大陸出版品書況:因裝幀品質及貨運條件未臻完善,書況與台灣出版品落差甚大,封面老舊、出現磨痕、凹痕等均屬常態,故簡體字館除封面破損、內頁脫落...等較嚴重的狀態外,其餘所有商品將正常出貨。 

 

請注意,部分書籍附贈之內容(如音頻mp3或影片dvd等)已無實體光碟提供,需以QR CODE 連結至當地網站註冊“並通過驗證程序”,方可下載使用。

調貨時間:若您購買海外庫存之商品,於您完成訂購後,商品原則上約45個工作天內抵台(若有將延遲另行告知)。為了縮短等待的時間,建議您將簡體書與其它商品分開訂購,以利一般商品快速出貨。 

若您具有法人身份為常態性且大量購書者,或有特殊作業需求,建議您可洽詢「企業採購」。 

退換貨說明 

會員所購買的商品均享有到貨十天的猶豫期(含例假日)。退回之商品必須於猶豫期內寄回。 

辦理退換貨時,商品必須是全新狀態與完整包裝(請注意保持商品本體、配件、贈品、保證書、原廠包裝及所有附隨文件或資料的完整性,切勿缺漏任何配件或損毀原廠外盒)。退回商品無法回復原狀者,恐將影響退貨權益或需負擔部分費用。 

訂購本商品前請務必詳閱商品退換貨原則

  • 簡體週年慶
  • 商業新品
  • 福寶