WSO2 Developer’s Guide
图书信息
| 作者 | Fidel Prieto Estrada |
| 出版社 | Ramón Garrido Lázaro |
| ISBN | 9781787280755 |
| 出版时间 | 2017-09-29 |
| 字数 | 31.4万 |
| 分类 | Packt Publishing,进口书,外文原版书,电脑,网络 |
读书简介
WSO2 Made Simple – dive deep into the core concepts of WSO2 to overcome the challenges faced while using the Enterprise Integrator About This Book ? Design, create, and publish services in the WSO2 technology ? Integrate the WSO2 Enterprise Integrator with other components and servers ? Log and test deployed services Who This Book Is For If you are a Java solutions architect or developer and are keen to understand how to build enterprise applications with WSO2, this book is for you. No prior knowledge of WSO2 is expected. What You Will Learn ? Configure WSO2 Enterprise Integrator server in a production environment ? Create SOAP Proxies and REST APIs ? Interact with WSO2 Message Broker ? Write services using the new language: Ballerina ? Schedule automatic tasks for the services you create ? Manage log messages depending on the log level of the system ? Integrate with social networks such as Twitter, Facebook, Instagram, and Yammer ? Test SOAP Services using the Tryit feature and SoapUI tool ? Work with Quality of Services In Detail WSO2 Enterprise Integrator brings together the most powerful servers provided by the WSO2 company for your SOA infrastructure. As an Enterprise Service Bus (ESB), WSO2 Enterprise Integrator provides greater flexibility and agility to meet growing enterprise demands, whereas, as a Data Services Server (DSS), it provides an easy-to-use platform for integrating data stores, creating composite views across different data sources, and hosting data services. Using real-world scenarios, this book helps you build a solid foundation in developing enterprise applications with powerful data integration capabilities using the WSO2 servers. The book gets you started by brushing up your knowledge about SOA architecture and how it can be implemented through WSO2. It will help build your expertise with the core concepts of ESB such as building proxies, sequences, endpoints, and how to work with these in WSO2. Going further, you will also get well-acquainted with DSS data service concepts such as configuring data services, tasks, events, testing, and much more. The book will also cover API management techniques. Along with ESB and DSS, you will also learn about business process servers, the rules server and other components that together provide the control and robustness your enterprise applications will need. With practical use cases, the book covers typical daily scenarios you will come across while using these servers to give you hands-on experience. Style and approach The book is a complete guide and helps you get the right start—from understanding SOA architectures to getting valuable experience with two important integration servers such as ESB and DSS. It will include some real-world practical scenarios to help you master the best practices followed right across the industry and overcome the challenges you're likely to face on a daily basis.
目录
Title Page
Copyright
WSO2 Developer’s Guide
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
Getting Started with SOA and WSO2
SOA principles
SOA organization
Technology for SOA
Downloading WSO2 Enterprise Integrator
WSO2 Update Manager
Add an existing product to WUM repository
Download a product using WSO2 Update Manager
Check for product updates using WSO2 Update Manager
Deleting a product from the WSO2 Update Manager repository
Installing WSO2 Enterprise Integrator
Starting components manually
Starting/stopping WSO2 Enterprise Integrator
Starting/stopping WSO2 EI Analytics
Starting/stopping WSO2 EI Business Process
Starting/stopping WSO2 EI Broker
Starting all the products
WSO2 EI Configuration
Configuring JDBC drivers
Configuring transports
Configuring message formatters and message builders
Summary
Developing Integration Projects with WSO2EI Tooling
Installing and running WSO2EI Tooling
Creating carbon projects
ESBConfig projects
Creating a proxy
Creating a REST API
Creating a sequence
Creating an endpoint
Registry Resource Project
Data Service Project
Composite Application Project
ESB Solution Project
Debugging mediation
Data mapping
Summary
Building Web Services
Mediators
The property mediator
The log mediator
The send mediator
The respond mediator
The loopback mediator
The drop mediator
The sequence mediator
The script mediator
Sequences
Main sequence
The fault sequence
A custom sequence
Proxies
The transformer proxy
Secure proxy
WSDL based proxy
Logging proxy
Pass through proxy
Custom proxy
APIs
URL mapping
URI template
Inbound endpoints
Listening
Polling
Event based
Custom
Tasks
Scheduling data services
Scheduling other services
Summary
Building Data Services
Configuring data sources
Create wizard
Data service details
Adding datasources
Adding queries
Adding new queries using XML responses
Adding new queries using JSON responses
Adding new queries using a filter
Adding new queries for inserting data
Adding new queries for updating data
Adding new queries for deleting data
Adding operations
Adding resources
Creating CRUD data services
Creating data services using WSO2 EI Tooling
Summary
Transforming the Content of the Payload
Creating new content
The PayloadFactory mediator
Script mediator
Change the format of the content
Message type
The XQuery mediator
Enrich the message
The Enrich mediator
Message transformation
The XSLT mediator
The FastXSLT mediator
Summary
Conditional Route
Checking the payload content
Validating XML
Validating JSON
Boolean filtering
Multiple filtering
Advanced routing
The conditional router mediator
The rule mediator
Summary
Quality of Service
Security
Security scenarios
Scenario 1: UsernameToken
Scenario 2: Non-repudiation
Scenario 3: Integrity
Scenario 4: Confidentiality
Scenario 5: Sign and encrypt - X509 authentication
Scenario 6: Sign and encrypt - Anonymous clients
Scenario 7: Encrypt only - UsernameToken authentication
Scenario 8: Sign and encrypt - UsernameToken authentication
Scenario 9: Secure conversation - Sign only - Service as STS - Bootstrap policy - Sign and encrypt, X509 authentication
Scenario 10: Secure conversation - Sign only - Service as STS - Bootstrap policy - Sign and encrypt, anonymous clients
Scenario 11: Secure conversation - Sign and Encrypt - Service as STS - Bootstrap policy - Sign and encrypt, X509 authentication
Scenario 12: Secure conversation - Sign only - Service as STS - Bootstrap policy - Sign and encrypt, anonymous clients
Scenario 13: Secure conversation - Sign and Encrypt - Service as STS - Bootstrap policy - Sign and encrypt, anonymous clients
Scenario 14: Secure conversation - Encrypt only - Service as STS - Bootstrap policy - Sign and encrypt, UsernameToken authentication
Scenario 15: Secure conversation - Sign and encrypt - Service as STS - Bootstrap policy - Sign and encrypt, UsernameToken authentication
Scenario 16: Kerberos token-based security
Securing the transport
Creating a certificate for the EI server
Configuring HTTPS transport
Securing REST APIs
Basic authentication
Authentication against WSO2 Identity Server
Securing SOAP Proxies
Invoking secure backend
Basic-auth authentication
OAuth authentication
Getting a token from the WSO2 API manager
WS-Security
Throttling
Caching
Summary
Tasks Scheduling
Configuring the server
Setting the server mode
Configuring a clustered task server
Scheduling integration services
Scheduling data services
Custom tasks
Summary
WSO2 Enterprise Integration Logging
General enterprise integration logging
Logging the orchestration
Log mediator
Adding log properties
Script mediator
Logging per API and per proxy service
Summary
WSO2 Enterprise Integration Testing
Testing with a built-in tester
Testing with SOAPUI
Creating a web service client
Creating a mock service
Creating a test case
Other ways of testing
Summary
Integrating with VFS
Configuring the server
Large files
Reading files
VFS properties
transport.vfs.FileURI
transport.vfs.ContentType
transport.vfs.FileNamePattern
transport.PollInterval
transport.vfs.ActionAfterProcess
transport.vfs.ActionAfterFailure
transport.vfs.MoveAfterProcess
transport.vfs.MoveAfterFailure
transport.vfs.ReplyFileURI
transport.vfs.ReplyFileName
transport.vfs.MoveTimestampFormat
transport.vfs.Streaming
transport.vfs.ReconnectTimeout
transport.vfs.MaxRetryCount
transport.vfs.Append
transport.vfs.MoveAfterFailedMove
transport.vfs.FailedRecordsFileName
transport.vfs.FailedRecordsFileDestination
transport.vfs.MoveFailedRecordTimestampFormat
transport.vfs.FailedRecordNextRetryDuration
transport.vfs.Locking
transport.vfs.FileProcessCount
transport.vfs.FileProcessInterval
transport.vfs.ClusterAware
transport.vfs.FileSizeLimit
transport.vfs.AutoLockReleaseInterval
Local filesystem
FTP and FTPS
SFTP
Writing files
Transferring files
File connector
Configuring
Working
Summary
Integrating with JMS - WSO2 EI Message Brokering
Creating message queues
Publishing messages to a queue
Consuming messages from a queue
Dead Letter Channel
Connectors
Types of Connectors
SOAP-based connectors
REST-based connectors
Java API-based connectors
Summary
Introduction to Ballerina
The Ballerina language history
The main concepts of Ballerina
Connectors
Type system
Community
Ballerina tools
Composer
Docerina
Testerina
Packerina
Working with Ballerina
Summary
- 医疗美容法律法规与风险管理(美容医学系列数字化创新教材)(曹伟,石悦)
- 孩子学口才的第一本书-修订版(寿长华编)
- 1985-2016年-中国农民工工资形成机制(彭红碧)
- 麦肯锡高效反馈技巧((英)服部周作)
- 盛世红妆(宓拉)
- 国研专家展望中国改革下一步(包月阳)
- 我有浦草(王加婷)
- 森林鱼国际绘本大师经典:朋友越多越好(精装绘本)((美)凯・葛斯坦(MordicaiGe)
