Java Web服务:建构与运行
Java Web服务:建构与运行封面图

Java Web服务:建构与运行

(美) 卡林 (Kalin,M.) , 著

出版社:东南大学出版社

年代:2009

定价:48.0

书籍简介:

本书通过提供混合架构概述、完整的工作代码示例以及短而精确的编译、部署和执行应用程序的指示,采用明确实用的方法来处理这些技术。您将学习如何从头开始编写Web服务以及集成现有服务到你的Java应用程序中。

书籍目录:

Preface

1.JavaWebServicesQuickstart

WhatAreWebServices?

WhatGoodAreWebServices?

AFirstExample

TheServiceEndpointInterfaceandServiceImplementationBean

AJavaApplicationtoPublishtheWebService

TestingtheWebServicewithaBrowser

APerlandaRubyRequesteroftheWebService

TheHiddenSOAP

AJavaRequesteroftheWebService

Wire-LevelTrackingofHTTPandSOAPMessages

WhatsClearSoFar?

KeyFeaturesoftheFirstCodeExample

JavasSOAPAPI

AnExamplewithRicherDataTypes

PublishingtheServiceandWritingaClient

MultithreadingtheEndpointPublisher

WhatsNext?

2.AllAboutWSDLs

WhatGoodIsaWSDL?

GeneratingClient-SupportCodefromaWSDL

The@WebResultAnnotation

WSDLStructure

ACloserLookatWSDLBindings

KeyFeaturesofDocument-StyleServices

ValidatingaSOAPMessageAgainstaWSDLsXMLSchema

TheWrappedandUnwrappedDocumentStyles

AmazonsE-CommerceWebService

AnE-CommerceClientinWrappedStyle

AnE-CommerceClientinUnwrappedStyle

TradeoffsBetweentheRPCandDocumentStyles

AnAsynchronousE-CommerceClient

ThewsgenUtilityandJAX-BArtifacts

AJAX-BExample

MarshalingandwsgenArtifacts

AnOverviewofJavaTypesandXMLSchemaTypes

GeneratingaWSDLwiththewsgenUtility

WSDLWrap-Up

CodeFirstVersusContractFirst

AContract-FirstExamplewithwsimport

ACode-First,Contract-AwareApproach

LimitationsoftheWSDL

WhatsNext?

3.SOAPHandling

SOAP:HiddenorNot?

SOAP1.1andSOAP1.2

SOAPMessagingArchitecture

ProgrammingintheJWSHandlerFramework

TheRabbitCounterExample

InjectingaHeaderBlockintoaSOAPHeader

ConfiguringtheClient-SideSOAPHandler

AddingaHandlerProgrammaticallyontheClientSide

GeneratingaFaultfroma@WebMethod

AddingaLogicalHandlerforClientRobustness

AddingaService-SideSOAPHandler

SummaryoftheHandlerMethods

TheRabbitCounterAsaSOAP1.2Service

TheMessageContextandTransportHeaders

AnExampletoIllustrateTransport-LevelAccess

WebServicesandBinaryData

ThreeOptionsforSOAPAttachments

UsingBase64EncodingforBinaryData

UsingMTOMforBinaryData

WhatsNext?

4.RESTfulWebServices

WhatIsREST?

VerbsandOpaqueNouns

From@WebServiceto@WebServiceProvider

ARESTfulVersionoftheTeamsService

TheWebServiceProviderAnnotation

LanguageTransparencyandRESTfulServices

SummaryoftheRESTfulFeatures

ImplementingtheRemainingCRUDOperations

JavaAPIforXMLProcessing

TheProviderandDispatchTwins

AProvider/DispatchExample

MoreontheDispatchInterface

ADispatchClientAgainstaSOAP-basedService

ImplementingRESTfulWebServicesAsHttpServlets

TheRabbitCounterServlet

RequestsforMIME-TypedResponses

JavaClientsAgainstReal-WorldRESTfulServices

TheYahoo!NewsService

TheAmazonE-CommerceService:RESTStyle

TheRESTfulTumblrService

WADLingwithJava-BasedRESTfulServices

JAX-RS:WADLingThroughJersey

TheRestletFramework

WhatsNext?

5.WebServicesSecurity

OverviewofWebServicesSecurity

Wire-LevelSecurity

HTTPSBasics

SymmetricandAsymmetricEncryption/Decryption

HowHTTPSProvidestheThreeSecurityServices

TheHttpsURLConnectionClass

SecuringtheRabbitCounterService

AddingUserAuthentication

HTTPBASICAuthentication

Container-ManagedSecurityforWebServices

Deployinga@WebServiceUnderTomcat

Securingthe@WebServiceUnderTomcat

Application-ManagedAuthentication

Container-ManagedAuthenticationandAuthorization

ConfiguringContainer-ManagedSecurityUnderTomcat

UsingaDigestedPasswordInsteadofaPassword

ASecured@WebServiceProvider

WS-Security

Securinga@WebServicewithWS-SecurityUnderEndpoint

ThePrompterandtheVerifier

TheSecuredSOAPEnvelope

SummaryoftheWS-SecurityExample

WhatsNext?

6.JAX-WSinJavaApplicationServers

OverviewofaJavaApplicationServer

Deploying@WebServicesand@WebServiceProviders

Deploying@WebServiceProviders

IntegratinganInteractiveWebsiteandaWebService

A@WebServiceAsanEJB

ImplementationAsaStatelessSessionEJB

TheEndpointURLforanEBJ-BasedService

DatabaseSupportThroughan@Entity

ThePersistenceConfigurationFile

TheEJBDeploymentDescriptor

ServletandEJBImplementationsofWebServices

JavaWebServicesandJavaMessageService

WS-SecurityUnderGlassFish

MutualChallengewithDigitalCertificates

MCSUnderHTTPS

MCSUnderWSIT

TheDramaticSOAPEnvelopes

BenefitsofJASDeployment

WhatsNext?

7.BeyondtheFlameWars

AVeryShortHistoryofWebServices

TheServiceContractinDCE/RPC

XML-RPC

StandardizedSOAP

SOAP-BasedWebServicesVersusDistributedObjects

SOAPandRESTinHarmony

Index

内容摘要:

  这本实例众多的书提供了对Java的API的一个全面介绍,包括针对XMLWeb服务的JAX-WS和针对RESTfulWeb服务的JAX-RS。  《JavaWeb服务:构建与运行》通过提供混合架构概述、完整的工作代码示例以及短而精确的编译、部署和执行应用程序的指示,采用明确实用的方法来处理这些技术。你将学习如何从头开始编写Web服务以及集成现有服务到你的Java应用程序中。  有了这本书,你将:  .理解基于SOAP的和REST样式的服务的区别  .编写、部署和使用基于SOAP的核心Java服务  .理解Web服务描述语言(WSDL)服务契约  .认识SOAP消息的结构  .学习如何交付基于Java的RESTfulWeb服务和消耗商业RESTful服务  .了解对基于SOAP和基于REST的Web服务的安全要求  .学习如何在各种环境下部署JAX-WS服务  不管是学生还是有经验的程序员,当你需要立即运用这些技术展开工作时,《JavaWeb服务:构建与运行》都是你需要的一本理想的简明指南。【作者简介】  MartinKalin,德保罗大学计算机和数字媒体学院教授,拥有西北大学的博士学位。他撰写过关于C语言、C++和Java的书,并参与开发过大型分布式系统中的进程调度和产品配置。

书籍规格:

书籍详细信息
书名Java Web服务:建构与运行站内查询相似图书
9787564119270
如需购买下载《Java Web服务:建构与运行》pdf扫描版电子书或查询更多相关信息,请直接复制isbn,搜索即可全网搜索该ISBN
出版地南京出版单位东南大学出版社
版次影印本印次1
定价(元)48.0语种简体中文
尺寸26 × 0装帧平装
页数印数 1600

书籍信息归属:

Java Web服务:建构与运行是东南大学出版社于2009.11出版的中图分类号为 TP312 的主题关于 JAVA语言-程序设计-英文 的书籍。