This document provides an overview of SAPO BUS, including:
1. What is SAPO BUS and its architecture? It is a middleware that implements authentication, caching, support for bindings, transformations, protection, routing and monitoring between clients and services.
2. How to develop services using a contract-first approach with SAPO BUS. This includes creating a schema, project, and service then publishing the operations and strategies.
3. Benefits of using SAPO BUS include standardized contracts, interoperability, and administrative simplification through the back office. It also generates contracts, stubs and proxies automatically.
4. Arquitectura SAPO BUS
ESB LDAP
Pedido Pedido
Estratégia AutenMcação Tasks
C S
l e
i ‐ Tranformações r
e ‐ Caching v
n i
t ‐ Route ç
e o
Tasks
Resposta Resposta
Catálogo
5. Contract‐First Development
“Estruturar mentalmente antes de começar a desenvolver”
• IdenMficar interfaces
• IdenMficar operações e parâmetros
• IdenMcar Mpos
• Vantagens:
– Definição de contratos baseado em standards
– Promove a interoperabilidade
6. Instalação
BUS LDAP
Site WebService
Backoffice
WebServices
BUS Membership
Backoffice WebService
IIS
ESB Membership
LDAP
SQL SERVER
8. Contract‐First com o SAPO BUS
Criar Criar Validar Gerar Stub
Schema Projecto com WS‐I do Serviço
Criar Testar em Publicar Publicar
Serviço Dev Serviço Operações
Criar Testar no
Estratégias BUS
Acções dentro do backoffice do BUS
Acções fora do backoffice do BUS
10. Recursos
• Catálogo de serviços públicos do sapo
– hfp://services.sapo.pt
• SAPO BUS em open source
– hfp://sohwarelivre.sapo.pt/bus
– hfp://www.codeplex.com/SapoBus
• Email de suporte
– suporte.bus@co.sapo.pt