Java web services: up and running ; [covers JAX-WS 2.1 ; a quick, practical, and thorough introduction 🔍
Martin Kalin
O'Reilly Media, Incorporated, 1st ed., Beijing, Sebastopol, Calif, China, February 2009
英语 [en] · PDF · 13.6MB · 2009 · 📗 未知类型的图书 · 🚀/duxiu/ia · Save
描述
This example-driven book offers a thorough introduction to Java’s APIs for both 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 deploy JAX-WS services in various environments
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.
*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 deploy JAX-WS services in various environments
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.
备选作者
Kalin, Martin
备用出版商
Pogue Press
备用版本
United States, United States of America
备用版本
1, 20080514
备用版本
1, US, 2009
元数据中的注释
Includes index.
"Covers JAX-WS 2.1" -- Cover, p.1.
"Covers JAX-WS 2.1" -- Cover, p.1.
元数据中的注释
Includes index.
"Covers JAX-WS 2.1" -- Cover, p.1.
"Covers JAX-WS 2.1" -- Cover, p.1.
元数据中的注释
topic: Web site development; Java (Computer program language); Application software-Development
元数据中的注释
Type: 英文图书
元数据中的注释
Bookmarks:
1. (p1) Preface
2. (p2) 1. Java Web Services Quickstart
2.1. (p3) What Are Web Services?
2.2. (p5) A First Example
2.2.1. (p4) What Good Are Web Services?
2.2.2. (p6) The Service Endpoint Interface And Service Implementation Bean
2.2.3. (p7) A Java Application To Publish The Web Service
2.2.4. (p8) Testing The Web Service With A Browser
2.3. (p9) A Perl And A Ruby Requester Of The Web Service
2.4. (p10) The Hidden Soap
2.5. (p11) A Java Requester Of The Web Service
2.6. (p12) Wire-Level Tracking Of Http And Soap Messages
2.7. (p13) What's Clear So Far?
2.7.1. (p14) Key Features Of The First Code Example
2.8. (p15) Java's Soap Api
2.9. (p16) An Example With Richer Data Types
2.9.1. (p17) Publishing The Service And Writing A Client
2.10. (p18) Multithreading The Endpoint Publisher
2.11. (p19) What's Next?
3. (p20) 2. All About Wsdls
3.1. (p21) What Good Is A Wsdl?
3.1.1. (p22) Generating Client-Support Code From A Wsdl
3.1.2. (p23) The @ Webresult Annotation
3.2. (p24) Wsdl Structure
3.2.1. (p25) A Closer Look At Wsdl Bindings
3.2.2. (p26) Key Features Of Document-Style Services
3.2.3. (p27) Validating A Soap Message Against A Wsdl's Xml Schema
3.2.4. (p28) The Wrapped And Unwrapped Document Styles
3.3. (p29) Amazon's E-Commerce Web Service
3.3.1. (p30) An E-Commerce Client In Wrapped Style
3.3.2. (p31) An E-Commerce Client In Unwrapped Style
3.3.3. (p32) Tradeoffs Between The Rpc And Document Styles
3.3.4. (p33) An Asynchronous E-Commerce Client
3.4. (p34) The Wsgen Utility And Jax-B Artifacts
3.4.1. (p35) AJAX-B Example
3.4.2. (p36) Marshaling And Wsgen Artifacts
3.4.3. (p37) An Overview Of Java Types And Xml Schema Types
3.4.4. (p38) Generating A Wsdl With The Wsgen Utility
3.5. (p39) Wsdl Wrap-Up
3.5.1. (p40) Code First Versus Contract First
3.5.2. (p41) A Contract-First Example With Wsimport
3.5.3. (p42) A Code-First, Contract-Aware Approach
3.5.4. (p43) Limitations Of The Wsdl
3.6. (p44) What's Next?
4. (p45) 3. Soap Handling
4.1. (p46) Soap: Hidden Or Not?
4.1.1. (p47) Soap 1.1 And Soap 1.2
4.1.2. (p48) Soap Messaging Architecture
4.1.3. (p49) Programming In The Jws Handler Framework
4.1.4. (p50) The Rabbitcounter Example
4.1.5. (p51) Injecting A Header Block Into A Soap Header
4.1.6. (p52) Configuring The Client-Side Soap Handler
4.1.7. (p53) Adding A Handler Programmatically On The Client Side
4.1.8. (p54) Generating A Fault From A @ Webmethod
4.1.9. (p55) Adding A Logical Handler For Client Robustness
4.1.10. (p56) Adding A Service-Side Soap Handler
4.1.11. (p57) Summary Of The Handler Methods
4.2. (p58) The Rabbitcounter As A Soap 1. 2 Service
4.3. (p59) The Messagecontext And Transport Headers
4.3.1. (p60) An Example To Illustrate Transport-Level Access
4.4. (p61) Web Services And Binary Data
4.4.1. (p62) Three Options For Soap Attachments
4.4.2. (p63) Using Base64 Encoding For Binary Data
4.4.3. (p64) Using Mtom For Binary Data
4.5. (p65) What's Next?
5. (p66) 4. Restful Web Services
5.1. (p67) What Is Rest?
5.1.1. (p68) Verbs And Opaque Nouns
5.2. (p69) From @ Webservice To @ Webserviceprovider
5.3. (p70) A Restful Version Of The Teams Service
5.3.1. (p71) The Webserviceprovider Annotation
5.3.2. (p72) Language Transparency And Restful Services
5.3.3. (p73) Summary Of The Restful Features
5.3.4. (p74) Implementing The Remaining Crud Operations
5.3.5. (p75) Java Api For Xml Processing
5.4. (p76) The Provider And Dispatch Twins
5.4.1. (p77) A Provider/Dispatch Example
5.4.2. (p78) More On The Dispatch Interface
5.4.3. (p79) A Dispatch Client Against A Soap-Based Service
5.5. (p80) Implementing Restful Web Services As Httpservlets
5.5.1. (p81) The Rabbitcounterservlet
5.5.2. (p82) Requests For Mime-Typed Responses
5.6. (p83) Java Clients Against Real-World Restful Services
5.6.1. (p84) The Yahoo! News Service
5.6.2. (p85) The Amazon E-Commerce Service: Rest Style
5.6.3. (p86) The Restful Tumblr Service
5.7. (p87) Wadling With Java-Based Restful Services
5.8. (p88) Jax-Rs: Wadling Through Jersey
5.9. (p89) The Restlet Framework
5.10. (p90) What's Next?
6. (p91) 5. Web Services Security
6.1. (p92) Overview Of Web Services Security
6.2. (p93) Wire-Level Security
6.2.1. (p94) Https Basics
6.2.2. (p95) Symmetric And Asymmetric Encryption/Decryption
6.2.3. (p96) How Https Provides The Three Security Services
6.2.4. (p97) The Httpsurlconnection Class
6.3. (p98) Securing The Rabbitcounter Service
6.3.1. (p99) Adding User Authentication
6.3.2. (p100) Http Basic Authentication
6.4. (p101) Container-Managed Security For Web Services
6.4.1. (p102) Deploying A @ Webservice Under Tomcat
6.4.2. (p103) Securing The @ Webservice Under Tomcat
6.4.3. (p104) Application-Managed Authentication
6.4.4. (p105) Container-Managed Authentication And Authorization
6.4.5. (p106) Configuring Container-Managed Security Under Tomcat
6.4.6. (p107) Using A Digested Password Instead Of A Password
6.4.7. (p108) A Secured @ Webserviceprovider
6.5. (p109) Ws-Security
6.5.1. (p110) Securing A @ Webservice With Ws-Security Under Endpoint
6.5.2. (p111) The Prompter And The Verifier
6.5.3. (p112) The Secured Soap Envelope
6.5.4. (p113) Summary Of The Ws-Security Example
6.6. (p114) What's Next?
7. (p115) 6. Jax-Ws In Java Application Servers
7.1. (p116) Overview Of A Java Application Server
7.2. (p117) Deploying @ Webservices And @ Webserviceproviders
7.2.1. (p118) Deploying @ Webserviceproviders
7.3. (p119) Integrating An Interactive Website And A Web Service
7.4. (p120) A @ Webservice As an EJB
7.4.1. (p121) Implementation As a Stateless Session EJB
7.4.2. (p122) The Endpoint URL For an EBJ-Based Service
7.4.3. (p123) Database Support Through An @ Entity
7.4.4. (p124) The Persistence Configuration File
7.4.5. (p125) The EJB Deployment Descriptor
7.4.6. (p126) Servlet and EJB Implementations Of Web Services
7.5. (p127) Java Web Services and Java Message Service
7.6. (p128) Ws-Security Under Glassfish
7.6.1. (p129) Mutual Challenge With Digital Certificates
7.6.2. (p130) Mcs Under Https
7.6.3. (p131) Mcs Under Wsit
7.6.4. (p132) The Dramatic Soap Envelopes
7.7. (p133) Benefits Of Jas Deployment
7.8. (p134) What's Next?
8. (p135) 7. Beyond The Flame Wars
8.1. (p136) A Very Short History Of Web Services
8.1.1. (p137) The Service Contract In Dce/Rpc
8.1.2. (p138) Xml-Rpc
8.1.3. (p139) Standardized Soap
8.2. (p140) Soap-Based Web Services Versus Distributed Objects
8.3. (p141) Soap And Rest In Harmony
9. (p142) Index
1. (p1) Preface
2. (p2) 1. Java Web Services Quickstart
2.1. (p3) What Are Web Services?
2.2. (p5) A First Example
2.2.1. (p4) What Good Are Web Services?
2.2.2. (p6) The Service Endpoint Interface And Service Implementation Bean
2.2.3. (p7) A Java Application To Publish The Web Service
2.2.4. (p8) Testing The Web Service With A Browser
2.3. (p9) A Perl And A Ruby Requester Of The Web Service
2.4. (p10) The Hidden Soap
2.5. (p11) A Java Requester Of The Web Service
2.6. (p12) Wire-Level Tracking Of Http And Soap Messages
2.7. (p13) What's Clear So Far?
2.7.1. (p14) Key Features Of The First Code Example
2.8. (p15) Java's Soap Api
2.9. (p16) An Example With Richer Data Types
2.9.1. (p17) Publishing The Service And Writing A Client
2.10. (p18) Multithreading The Endpoint Publisher
2.11. (p19) What's Next?
3. (p20) 2. All About Wsdls
3.1. (p21) What Good Is A Wsdl?
3.1.1. (p22) Generating Client-Support Code From A Wsdl
3.1.2. (p23) The @ Webresult Annotation
3.2. (p24) Wsdl Structure
3.2.1. (p25) A Closer Look At Wsdl Bindings
3.2.2. (p26) Key Features Of Document-Style Services
3.2.3. (p27) Validating A Soap Message Against A Wsdl's Xml Schema
3.2.4. (p28) The Wrapped And Unwrapped Document Styles
3.3. (p29) Amazon's E-Commerce Web Service
3.3.1. (p30) An E-Commerce Client In Wrapped Style
3.3.2. (p31) An E-Commerce Client In Unwrapped Style
3.3.3. (p32) Tradeoffs Between The Rpc And Document Styles
3.3.4. (p33) An Asynchronous E-Commerce Client
3.4. (p34) The Wsgen Utility And Jax-B Artifacts
3.4.1. (p35) AJAX-B Example
3.4.2. (p36) Marshaling And Wsgen Artifacts
3.4.3. (p37) An Overview Of Java Types And Xml Schema Types
3.4.4. (p38) Generating A Wsdl With The Wsgen Utility
3.5. (p39) Wsdl Wrap-Up
3.5.1. (p40) Code First Versus Contract First
3.5.2. (p41) A Contract-First Example With Wsimport
3.5.3. (p42) A Code-First, Contract-Aware Approach
3.5.4. (p43) Limitations Of The Wsdl
3.6. (p44) What's Next?
4. (p45) 3. Soap Handling
4.1. (p46) Soap: Hidden Or Not?
4.1.1. (p47) Soap 1.1 And Soap 1.2
4.1.2. (p48) Soap Messaging Architecture
4.1.3. (p49) Programming In The Jws Handler Framework
4.1.4. (p50) The Rabbitcounter Example
4.1.5. (p51) Injecting A Header Block Into A Soap Header
4.1.6. (p52) Configuring The Client-Side Soap Handler
4.1.7. (p53) Adding A Handler Programmatically On The Client Side
4.1.8. (p54) Generating A Fault From A @ Webmethod
4.1.9. (p55) Adding A Logical Handler For Client Robustness
4.1.10. (p56) Adding A Service-Side Soap Handler
4.1.11. (p57) Summary Of The Handler Methods
4.2. (p58) The Rabbitcounter As A Soap 1. 2 Service
4.3. (p59) The Messagecontext And Transport Headers
4.3.1. (p60) An Example To Illustrate Transport-Level Access
4.4. (p61) Web Services And Binary Data
4.4.1. (p62) Three Options For Soap Attachments
4.4.2. (p63) Using Base64 Encoding For Binary Data
4.4.3. (p64) Using Mtom For Binary Data
4.5. (p65) What's Next?
5. (p66) 4. Restful Web Services
5.1. (p67) What Is Rest?
5.1.1. (p68) Verbs And Opaque Nouns
5.2. (p69) From @ Webservice To @ Webserviceprovider
5.3. (p70) A Restful Version Of The Teams Service
5.3.1. (p71) The Webserviceprovider Annotation
5.3.2. (p72) Language Transparency And Restful Services
5.3.3. (p73) Summary Of The Restful Features
5.3.4. (p74) Implementing The Remaining Crud Operations
5.3.5. (p75) Java Api For Xml Processing
5.4. (p76) The Provider And Dispatch Twins
5.4.1. (p77) A Provider/Dispatch Example
5.4.2. (p78) More On The Dispatch Interface
5.4.3. (p79) A Dispatch Client Against A Soap-Based Service
5.5. (p80) Implementing Restful Web Services As Httpservlets
5.5.1. (p81) The Rabbitcounterservlet
5.5.2. (p82) Requests For Mime-Typed Responses
5.6. (p83) Java Clients Against Real-World Restful Services
5.6.1. (p84) The Yahoo! News Service
5.6.2. (p85) The Amazon E-Commerce Service: Rest Style
5.6.3. (p86) The Restful Tumblr Service
5.7. (p87) Wadling With Java-Based Restful Services
5.8. (p88) Jax-Rs: Wadling Through Jersey
5.9. (p89) The Restlet Framework
5.10. (p90) What's Next?
6. (p91) 5. Web Services Security
6.1. (p92) Overview Of Web Services Security
6.2. (p93) Wire-Level Security
6.2.1. (p94) Https Basics
6.2.2. (p95) Symmetric And Asymmetric Encryption/Decryption
6.2.3. (p96) How Https Provides The Three Security Services
6.2.4. (p97) The Httpsurlconnection Class
6.3. (p98) Securing The Rabbitcounter Service
6.3.1. (p99) Adding User Authentication
6.3.2. (p100) Http Basic Authentication
6.4. (p101) Container-Managed Security For Web Services
6.4.1. (p102) Deploying A @ Webservice Under Tomcat
6.4.2. (p103) Securing The @ Webservice Under Tomcat
6.4.3. (p104) Application-Managed Authentication
6.4.4. (p105) Container-Managed Authentication And Authorization
6.4.5. (p106) Configuring Container-Managed Security Under Tomcat
6.4.6. (p107) Using A Digested Password Instead Of A Password
6.4.7. (p108) A Secured @ Webserviceprovider
6.5. (p109) Ws-Security
6.5.1. (p110) Securing A @ Webservice With Ws-Security Under Endpoint
6.5.2. (p111) The Prompter And The Verifier
6.5.3. (p112) The Secured Soap Envelope
6.5.4. (p113) Summary Of The Ws-Security Example
6.6. (p114) What's Next?
7. (p115) 6. Jax-Ws In Java Application Servers
7.1. (p116) Overview Of A Java Application Server
7.2. (p117) Deploying @ Webservices And @ Webserviceproviders
7.2.1. (p118) Deploying @ Webserviceproviders
7.3. (p119) Integrating An Interactive Website And A Web Service
7.4. (p120) A @ Webservice As an EJB
7.4.1. (p121) Implementation As a Stateless Session EJB
7.4.2. (p122) The Endpoint URL For an EBJ-Based Service
7.4.3. (p123) Database Support Through An @ Entity
7.4.4. (p124) The Persistence Configuration File
7.4.5. (p125) The EJB Deployment Descriptor
7.4.6. (p126) Servlet and EJB Implementations Of Web Services
7.5. (p127) Java Web Services and Java Message Service
7.6. (p128) Ws-Security Under Glassfish
7.6.1. (p129) Mutual Challenge With Digital Certificates
7.6.2. (p130) Mcs Under Https
7.6.3. (p131) Mcs Under Wsit
7.6.4. (p132) The Dramatic Soap Envelopes
7.7. (p133) Benefits Of Jas Deployment
7.8. (p134) What's Next?
8. (p135) 7. Beyond The Flame Wars
8.1. (p136) A Very Short History Of Web Services
8.1.1. (p137) The Service Contract In Dce/Rpc
8.1.2. (p138) Xml-Rpc
8.1.3. (p139) Standardized Soap
8.2. (p140) Soap-Based Web Services Versus Distributed Objects
8.3. (p141) Soap And Rest In Harmony
9. (p142) Index
元数据中的注释
theme: Web site development; Java (Computer program language); Application software-Development
备用描述
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.
备用描述
Introduction to Java's APIs for both XML Web Services (JAX-WS and RESTful Web Services (JAX-RS) provides a pragmatic approach, architectural overview, working code examples, and instructions for compiling, deploying, and executing an application. -- from cover, p.4.
备用描述
Java web services quickstart
All about WSDLs [Web Service Definition Language]
SOAP handling [Simple Object Access Protocol]
RESTful web services [JAX-RS]
Web services security
JAX-WS in Java application servers
Beyond the flame wars.
All about WSDLs [Web Service Definition Language]
SOAP handling [Simple Object Access Protocol]
RESTful web services [JAX-RS]
Web services security
JAX-WS in Java application servers
Beyond the flame wars.
备用描述
Java Web Services Quickstart
All About WSDLs
SOAP Handling
RESTful Web Services
Web Services Security
JAX-WS in Java Application Servers
Beyond the Flame Wars
Index
All About WSDLs
SOAP Handling
RESTful Web Services
Web Services Security
JAX-WS in Java Application Servers
Beyond the Flame Wars
Index
备用描述
Presents an introduction to Java's API for XML Web Services (JAX-WS) and the Java API for RESTful Web Services (JAX-RS).
开源日期
2023-06-28
🚀 快速下载
成为会员以支持书籍、论文等的长期保存。为了感谢您对我们的支持,您将获得高速下载权益。❤️
如果您在本月捐款,您将获得双倍的快速下载次数。
🐢 低速下载
由可信的合作方提供。 更多信息请参见常见问题解答。 (可能需要验证浏览器——无限次下载!)
- 低速服务器(合作方提供) #1 (稍快但需要排队)
- 低速服务器(合作方提供) #2 (稍快但需要排队)
- 低速服务器(合作方提供) #3 (稍快但需要排队)
- 低速服务器(合作方提供) #4 (稍快但需要排队)
- 低速服务器(合作方提供) #5 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #6 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #7 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #8 (无需排队,但可能非常慢)
- 低速服务器(合作方提供) #9 (无需排队,但可能非常慢)
- 下载后: 在我们的查看器中打开
所有选项下载的文件都相同,应该可以安全使用。即使这样,从互联网下载文件时始终要小心。例如,确保您的设备更新及时。
外部下载
-
对于大文件,我们建议使用下载管理器以防止中断。
推荐的下载管理器:JDownloader -
您将需要一个电子书或 PDF 阅读器来打开文件,具体取决于文件格式。
推荐的电子书阅读器:Anna的档案在线查看器、ReadEra和Calibre -
使用在线工具进行格式转换。
推荐的转换工具:CloudConvert和PrintFriendly -
您可以将 PDF 和 EPUB 文件发送到您的 Kindle 或 Kobo 电子阅读器。
推荐的工具:亚马逊的“发送到 Kindle”和djazz 的“发送到 Kobo/Kindle” -
支持作者和图书馆
✍️ 如果您喜欢这个并且能够负担得起,请考虑购买原版,或直接支持作者。
📚 如果您当地的图书馆有这本书,请考虑在那里免费借阅。
下面的文字仅以英文继续。
总下载量:
“文件的MD5”是根据文件内容计算出的哈希值,并且基于该内容具有相当的唯一性。我们这里索引的所有影子图书馆都主要使用MD5来标识文件。
一个文件可能会出现在多个影子图书馆中。有关我们编译的各种数据集的信息,请参见数据集页面。
有关此文件的详细信息,请查看其JSON 文件。 Live/debug JSON version. Live/debug page.