© the middleware company soa blueprints

31
© The Middleware Company SOA Blueprints Learning Best Practices and Sample Applications for SOA Steve Wilkes Senior Middleware Maven 7 THE MIDDLEWARE COMPANY 09.22.2004

Upload: zubin67

Post on 06-Jul-2015

421 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: © The Middleware Company SOA Blueprints

© The Middleware Company

SOA Blueprints

Learning Best Practices and Sample Applications for SOA

Steve Wilkes

Senior Middleware Maven7

THE MIDDLEWARE COMPANY

09.22.2004

Page 2: © The Middleware Company SOA Blueprints

© The Middleware Company

AGENDA

Why are we doing this?What are the goals?SOA ConceptsThe Reference ExampleThe SpecificationImplementations

Page 3: © The Middleware Company SOA Blueprints

© The Middleware Company

Why are we doing this?

SOA is the new old thing- The concept has been around for years- The practical realization has only recently materialized

J2EE had the PetStore- Initially a Patterns application without specification- Very successful as a learning tool- In some ways too successful – people learned architectural anti-

patterns in addition to the technology that was shown

SOA needs a PetStore not The PetStore- Demonstrating SOA best practice requires many applications- Industry focus on (inter) communication not eCommerce

Page 4: © The Middleware Company SOA Blueprints

© The Middleware Company

What are the goals?

Part of a long term project, SOA Blueprints aims to:- Define a baseline standardized set of enterprise applications- Focus on SOA principles- Highlight SOA design patterns and best practices- Encourage SOA adoption- Be industry agnostic- Be applicable to as many organizations as possible

The specification will lead to:- An agreement on SOA terminology- A reference open source implementation- An implementation by vendors- Additional modules with particular industry focus

Page 5: © The Middleware Company SOA Blueprints

© The Middleware Company

SOA Concepts

SOA Much More Than Web ServicesCommon SOA TermsPatternsSOA Platform RequirementsStandardsGlossary

Page 6: © The Middleware Company SOA Blueprints

© The Middleware Company

SOA Much More than Web Services

Service definition does not include protocol or wire formatHow many protocols in your organization?WSDL could be the keyService providers should concentrate on the serviceService consumers just want to use the serviceIt’s the SOA that allows providers and consumers to communicate

Page 7: © The Middleware Company SOA Blueprints

© The Middleware Company

Common SOA Terms

Common SOA Terms(the specification includes those highlighted in blue)

Page 8: © The Middleware Company SOA Blueprints

© The Middleware Company

SOA Terms (cont)

Synchronous and Asynchronous ServicesComponent ServicesData ServicesComposite (Business) ServicesConversational (Workflow) ServicesPublish-Subscribe ServicesService BrokersException Handling And Compensating ServicesService SecurityInterception And ExtensibilityInteroperability

Page 9: © The Middleware Company SOA Blueprints

© The Middleware Company

SOA Patterns

Initial patterns will include:Service Registry and Static BindingService Registry and Dynamic Binding Service Broker Distributed Service Broker Service Bus

Distributed Service Bus

Page 10: © The Middleware Company SOA Blueprints

© The Middleware Company

SOA Anti-Patterns

Overly granular business servicesRemote access to local servicesOveruse of XMLUse of loose coupling where tight coupling is required

Page 11: © The Middleware Company SOA Blueprints

© The Middleware Company

SOA Granularity

Page 12: © The Middleware Company SOA Blueprints

© The Middleware Company

SOA Development Requirements

Target implementation environments should provide:Definition of services independent of implementation, location or useImplementation and hosting of services as a providerLocation and usage of services as a consumerAssembly of services from other services and business rulesSupport for synchronous, asynchronous and conversational servicesOrchestration of application presentation built on services and rulesAutomated data transformation between disparate data structuresProvisioning of local and remote servicesSupport for simulating, testing and debugging of services

Page 13: © The Middleware Company SOA Blueprints

© The Middleware Company

Standards

Standards being considered for inclusion include:WS-IBPEL4WSWS-SecurityWS-NotificationJiniWSRPWS-Manageability

Page 14: © The Middleware Company SOA Blueprints

© The Middleware Company

Reference Example

Common Enterprise Applications(the specification includes those highlighted in blue)

Page 15: © The Middleware Company SOA Blueprints

© The Middleware Company

The Specified Applications

Based around fictitious enterprise - GeneriCoA distributed enterprise wide security mechanismAn employee self service portal providing:- Authentication- Organization Browser- Task List Management- Expense Reporting- Employee Reviews

A Product data serviceSome payroll & supply chain functions as required by the specification A basic HR application for management of employees and departmental structure

Page 16: © The Middleware Company SOA Blueprints

© The Middleware Company

The Security Mechanism

Provide security for:- New Applications- Legacy

Applications

Provide indentity managementAutomate employee security

Page 17: © The Middleware Company SOA Blueprints

© The Middleware Company

The Employee Portal

Page 18: © The Middleware Company SOA Blueprints

© The Middleware Company

Employee Portal

Utilizes Security Adaptor ServicesProvide Login / Logout CapabilitiesEnable Password ChangeProvide roles based access- to pages- to portlets- to actions

Authentication

Page 19: © The Middleware Company SOA Blueprints

© The Middleware Company

Employee Portal

Search for EmployeesBrowse DepartmentsGet Department DetailsGet Employee Details

Organization Browser

Page 20: © The Middleware Company SOA Blueprints

© The Middleware Company

Employee Portal

View Task ListSee Task DetailsAdd TasksUpdate TasksLink to ExpensesLink to Reviews

Task List Management

Page 21: © The Middleware Company SOA Blueprints

© The Middleware Company

Employee Portal

View Report ListSee Report DetailsAdd ReportUpdate ReportAuthorize ReportPay ReportUtilization ofPay Roll Services

Expense Reporting

Page 22: © The Middleware Company SOA Blueprints

© The Middleware Company

Employee Portal

View Review ListSee Review DetailsAdd ReviewUpdate ReviewValidate ReviewAdd RatingsFinalize ReviewUtilization ofPay Roll Services

Employee Reviews

Page 23: © The Middleware Company SOA Blueprints

© The Middleware Company

Product Data Services

Two Product DatabasesDifferent SchemasWant single dataservice to accessproduct informationEnable categorylistingEnable productlistingNeeds to generate unique keysAdd missing informationQuery across sources

Page 24: © The Middleware Company SOA Blueprints

© The Middleware Company

Message Definition

Messages are defined within the specification in a platform agnostic fashion:

Type: synchronous Client sends: getReports

Contents: GetReports Complex 1 employeeID Integer 0-1 or managerID Integer 0-1 or accountantID Integer 0-1

Security: auth token Protocol: http Client receives: listOfReports

Contents: Reports Complex 1 Report Complex 0-* ID Integer 1 Title String 1 SubmittedDate Date 1 Status String 1

or: authFault

o n e o f

th ese

Page 25: © The Middleware Company SOA Blueprints

© The Middleware Company

Process Definition

Processes are also defined in an agnostic way:

Page 26: © The Middleware Company SOA Blueprints

© The Middleware Company

Implementation Guidelines

Specification is platform agnosticDatabase schema will be suppliedWSDL will be provided for all servicesService testing will be provided by PushToTestTransport protocols must be adhered toUse of Portal server is recommendedWeb design should follow guidelinesStandards should be adhered to where stated

Page 27: © The Middleware Company SOA Blueprints

© The Middleware Company

Vendor Implementations

Currently have commitment from the following vendors to provide implementations of the reference example: BEA Systems Diamelle Technologies IONA Technologies Microsoft Oracle Pramati Sun Microsystems Rogue Wave Software

Page 28: © The Middleware Company SOA Blueprints

© The Middleware Company

Open Source Implementation

Looking to build open source teamCurrently have a number of committed membersTechnologies we’re hoping to use include:- Hibernate for persistence- Spring as a lightweight container- Axis for web service provisioning- eXo as an enterprise portal- Twister as a BPEL4WS engine- Maven for build and management

Will become reference implementation for SOA

Page 29: © The Middleware Company SOA Blueprints

© The Middleware Company

Possible Interesting Things

An additional 10 or so vendors want to enhance the specService management (Qos) an interesting add-onJini message board talking about an implementationSome vendors considering CORBA implementationWould like to include Mobility componentWSRP seems natural extension to Portal specificationIncluding more standards is a mustLaunching an SOA Blueprints Wiki very soonOpen Source Implementation home announced soon

Page 30: © The Middleware Company SOA Blueprints

© The Middleware Company

Next Steps

Q & AGoto soablueprints.comDownload the specificationSend us feedbackGet involved in open source implementation

Page 31: © The Middleware Company SOA Blueprints

© The Middleware Company

TheServerSide.com

TheServerSide.NET

MiddlewareRESEARCH.com

Steve Wilkes

Senior Middleware Maven7