Security for Web Services and Service-Oriented Architectures.pdf下载

weixin_39820535 2019-07-31 06:00:26
Security for Web Services and Service-Oriented Architectures.pdf
Security for Web Services and Service-Oriented Architectures.pdf
Security for Web Services and Service-Oriented Architectures.pdf
Security for Web Services and Service-Oriented Architectures.pdf
相关下载链接://download.csdn.net/download/yuan_ping_an/4115257?utm_source=bbsseo
...全文
5 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
The world of web services has been on a fast track to supernova ever since the architect astronauts spotted another meme to rocket out of pragmatism and into the universe of enterprises. But, thankfully, all is not lost. A renaissance of HTTP appreciation is building and, under the banner of REST, shows a credible alternative to what the merchants of complexity are trying to ram down everyone’s throats; a simple set of principles that every day developers can use to connect applications in a style native to the Web. Table of Contents Foreword........ . . . xi Preface........ . . . xiii 1. The Programmable Web and Its Inhabitants... . . . . . . 1 Kinds of Things on the Programmable Web 4 HTTP: Documents in Envelopes 5 Method Information 8 Scoping Information 11 The Competing Architectures 13 Technologies on the Programmable Web 18 Leftover Terminology 20 2. Writing Web Service Clients..... . . . . 23 Web Services Are Web Sites 23 del.icio.us: The Sample Application 26 Making the Request: HTTP Libraries 29 Processing the Response: XML Parsers 38 JSON Parsers: Handling Serialized Data 44 Clients Made Easy with WADL 47 3. What Makes RESTful Services Different?.... . 49 Introducing the Simple Storage Service 49 Object-Oriented Design of S3 50 Resources 52 HTTP Response Codes 54 An S3 Client 55 Request Signing and Access Control 64 Using the S3 Client Library 70 Clients Made Transparent with ActiveResource 71 Parting Words 77 vii 4. The Resource-Oriented Architecture.... . . . . . 79 Resource-Oriented What Now? 79 What’s a Resource? 81 URIs 81 Addressability 84 Statelessness 86 Representations 91 Links and Connectedness 94 The Uniform Interface 97 That’s It! 105 5. Designing Read-Only Resource-Oriented Services..107 Resource Design 108 Turning Requirements Into Read-Only Resources 109 Figure Out the Data Set 110 Split the Data Set into Resources 112 Name the Resources 117 Design Your Representations 123 Link the Resources to Each Other 135 The HTTP Response 137 Conclusion 140 6. Designing Read/Write Resource-Oriented Services.. . . . . . . 143 User Accounts as Resources 144 Custom Places 157 A Look Back at the Map Service 165 7. A Service Implementation..... . . . . 167 A Social Bookmarking Web Service 167 Figuring Out the Data Set 168 Resource Design 171 Design the Representation(s) Accepted from the Client 183 Design the Representation(s) Served to the Client 184 Connect Resources to Each Other 185 What’s Supposed to Happen? 186 What Might Go Wrong? 187 Controller Code 188 Model Code 205 What Does the Client Need to Know? 209 8. REST and ROA Best Practices..... . . 215 Resource-Oriented Basics 215 viii | Table of Contents The Generic ROA Procedure 216 Addressability 216 State and Statelessness 217 Connectedness 218 The Uniform Interface 218 This Stuff Matters 221 Resource Design 227 URI Design 233 Outgoing Representations 234 Incoming Representations 234 Service Versioning 235 Permanent URIs Versus Readable URIs 236 Standard Features of HTTP 237 Faking PUT and DELETE 251 The Trouble with Cookies 252 Why Should a User Trust the HTTP Client? 253 9. The Building Blocks of Services..... 259 Representation Formats 259 Prepackaged Control Flows 272 Hypermedia Technologies 284 10. The Resource-Oriented Architecture Versus Big Web Services. . . . . . 299 What Problems Are Big Web Services Trying to Solve? 300 SOAP 300 WSDL 304 UDDI 309 Security 310 Reliable Messaging 311 Transactions 312 BPEL, ESB, and SOA 313 Conclusion 314 11. Ajax Applications as REST Clients.... . . . . . . 315 From AJAX to Ajax 315 The Ajax Architecture 316 A del.icio.us Example 317 The Advantages of Ajax 320 The Disadvantages of Ajax 320 REST Goes Better 322 Making the Request 323 Handling the Response 324 JSON 325 Table of Contents | ix Don’t Bogart the Benefits of REST 326 Cross-Browser Issues and Ajax Libraries 327 Subverting the Browser Security Model 331 12. Frameworks for RESTful Services.... . . . . . . 339 Ruby on Rails 339 Restlet 343 Django 354 A. Some Resources for REST and Some RESTful Resources.. . . . 365 Standards and Guides 365 Services You Can Use 367 B. The HTTP Response Code Top 42....371 Three to Seven Status Codes: The Bare Minimum 372 1xx: Meta 373 2xx: Success 374 3xx: Redirection 377 4xx: Client-Side Error 380 5xx: Server-Side Error 387 C. The HTTP Header Top Infinity..... . 389 Standard Headers 390 Nonstandard Headers 404 Index........ . . . . 409
This book is a hands-on guide to start writing microservices using Node.js and the most modern frameworks, especially Seneca and PM2. In the chapters, we will discuss how to design, build, test, and deploy microservices using the best practices. We will also discuss a valuable lesson: how to make the right level of compromise in order to avoid over-designing and get the business requirements aligned with the technical solutions. What this book covers Chapter 1, Microservices Architecture, discusses the pros and cons of microservices- oriented architectures. It will be the foundation for the rest of the book. Chapter 2, Microservices in Node.js – Seneca and PM2 Alternatives, introduces Node.js, Seneca, and PM2. In it, we will discuss the structure of a Node.js application and how to run it using PM2. We will also dive into a few alternatives to Seneca and PM2. Chapter 3, From the Monolith to Microservices, covers how to tackle the organic growth (unplanned software changes) using microservices. We will also talk about how to split a monolithic application into microservices. Chapter 4, Writing Your First Microservice in Node.js, explains how to write our first microservice. Chapter 5, Security and Traceability, covers how security and traceability are two important characteristics of modern systems. We need to keep the information secure and the actions traceable. In this chapter, we will discuss how to do it using Seneca. Preface [ viii ] Chapter 6, Testing and Documenting Node.js Microservices, introduces using the main frameworks for testing on Node.js: Mocha and Chai. We will also make use of Sinon (another framework) to mock services. Swagger will be our choice for documenting microservices. Chapter 7, Monitoring Microservices, covers using PM2 to monitor our microservices. We will use it along with Keymetrics to get the maximum benefit of such an advanced tool. Chapter 8, Deploying Microservices, explains how, using PM2, we are going to learn to deploy microse
Guide to Ambient Intelligence in the IoT Environment: Principles, Technologies and Applications (Computer Communications and Networks) ISBN-10 书号: 3030041727 ISBN-13 书号: 9783030041724 Edition 版本: 1st ed. 2019 出版日期: 2019-01-02 pages 页数: (295 ) $69.99 Ambient intelligence (AmI) is an element of pervasive computing that brings smartness to living and business environments to make them more sensitive, adaptive, autonomous and personalized to human needs. It refers to intelligent interfaces that recognise human presence and preferences, and adjust smart environments to suit their immediate needs and requirements. The key factor is the presence of intelligence and decision-making capabilities in IoT environments. The underlying technologies include pervasive computing, ubiquitous communication, seamless connectivity of smart devices, sensor networks, artificial intelligence (AI), machine learning (ML) and context-aware human-computer interaction (HCI). AmI applications and scenarios include smart homes, autonomous self-driving vehicles, healthcare systems, smart roads, the industry sector, smart facilities management, the education sector, emergency services, and many more. The advantages of AmI in the IoT environment are extensive. However, as for any new technological paradigm, there are also many open issues and limitations. This book discusses the AmI element of the IoT and the relevant principles, frameworks, and technologies in particular, as well as the benefits and inherent limitations. It reviews the state of the art of current developments relating to smart spaces and AmI-based IoT environments. Written by leading international researchers and practitioners, the majority of the contributions focus on device connectivity, pervasive computing and context modelling (including communication, security, interoperability, scalability, and adaptability). The book presents cutting-edge research, current trends, and case studies, as well as suggestions to further our und

12,790

社区成员

发帖
与我相关
我的任务
社区描述
CSDN 下载资源悬赏专区
其他 技术论坛(原bbs)
社区管理员
  • 下载资源悬赏专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧