Web Services, CORBA and other Middleware - Object Management ...

41 downloads 34 Views 245KB Size Report
Web Services, CORBA and other. Middleware. Dr. Seán Baker. IONA Technologies. Web Services For The Integrated Enterprise, OMG Workshop, Munich Feb ...
Dr. Seán Baker IONA Technologies Web Services For The Integrated Enterprise, OMG Workshop, Munich Feb 2003

© Copyright IONA Technologies 2002

Web Services, CORBA and other Middleware

Overview • There a number of different types of middleware – So what does Web Services offer? © Copyright IONA Technologies 2002

2

2

Middleware • Middleware enables integration, but there are multiple – competing – choices:

© Copyright IONA Technologies 2002

– CORBA – J2EE – .NET – Various MoM & EAI proprietary middleware – Web Sevices – the new kid on the block.

3

3

There’s lots of choice • Some based on technical grounds, including:

© Copyright IONA Technologies 2002

– RPC versus message passing – Java specific versus multi-language – Direct versus indirect communication – Permanent versus occasional connection – Platform versus integration middleware

• Some based on personal choice

4

4

Intra-enterprise versus

inter-enterprise • Most middleware has been designed for intraenterprise • Inter-enterprise adds at least two challenges © Copyright IONA Technologies 2002

– Firewalls ( & inter-enterprise security in general) – Different middleware may be used at the two ends • As well as different operating system, languages, etc

5

5

Web Services • Aims to address both of these issues – Its protocol is layered on HTTP • So it can flow through a firewall • This “cheat” raises security and other concerns, but ones that need to be addressed in any case

– It uses XML to format messages © Copyright IONA Technologies 2002

• So both sides can accept this as a “neutral” formatting approach

6

6

So what is a Web Service? • Here’s a call to a Web Service: – get the status of an order

© Copyright IONA Technologies 2002

12345

7

7

Basic Web Services Standards SOAP WSDL UDDI

© Copyright IONA Technologies 2002

Client Client Client Client WSDL Interface Definition

8

8

Web Services – Higher Level View • Service Oriented Architectures (SOA) – An IT architecture that exposes components, business functions, transactions and processes as well-defined services. SOAs are designed to allow reuse of services and rapid integration of applications with services. © Copyright IONA Technologies 2002

Firewall

9

9

Use of XML to format messages • XML is a very general formatting tool – So use of XML doesn’t ensure that both sides will understand the messages • XML isn’t a panacea for interoperability – Also messages are larger (slower to marshall and send)

© Copyright IONA Technologies 2002

• However, it has advs for some uses (e.g. interenterprise) – “open” compared to proprietary / binary formats – XML has a poweful set of transformation tools

10

10

3 uses of Web Services • Inter-enterprise communication • Intra-enterprise (inter-middleware) communication • Technology neutral interfaces to packages © Copyright IONA Technologies 2002

– e.g., ERP

11

11

Web Services won’t replace existing middleware … • Such as • CORBA • J2EE • MOM, EAI etc

although MOM & EAI will have to adapt

• Why:

© Copyright IONA Technologies 2002

– The incumbents are strong, well suited to their uses, and no one has money these days to fix what isn’t broken – Web Services are “integration middleware” and not “platform middleware” – You can’t implement services using the Web Services standards. CORBA, J2EE and .NET are the only platform middlewares.

12

12

Web Services – relationship to other middleware • Use Web Services • to integrate between different enterprises • and to integrate between different “islands” inside an enterprise Web Web Services Services © Copyright IONA Technologies 2002

Web Web services services

CORBA CORBA CORBA CORBA

J2EE J2EE

COM COM

CORBA CORBA

13

13

J2EE J2EE

The Middleware Space

Single-Site Enterprise; Complex Application

Application © Copyright IONA Technologies 2002

Program

B2 B

between enterprises

between applications

J2E E

B2B Market, Global Enterprise

(inside I one A E enterprise)

inside one application inside one process

14 Tighter

We

e S b

s e c r vi

(more than A one RB process) CO

14

Coupling

Looser

Example: InfoStrada Architecture Infostrada

Wind

BSCS

SOAPG

SAS

NASG

ASAP Infostrada intelligent Network

SOAP Interface SOAP/HTTP: Synchronous

CORBA: Synchronous

© Copyright IONA Technologies 2002

15

15

Synchronous

Synchronous

Web Services standardisation will continue for many years • Security • Process Flow



Concentration on the “sweet spots” for Web Services: • Inter-enterprise • Inter-middleware



Will the industry agree on a common set of standards?

– “Transactions”

• Unreliable connections – Store and Forward © Copyright IONA Technologies 2002

• Publish and subscribe • Management • … and so on

16

16

Process Flow Workflow Assign Numbers Web CORBA Service

Inventory System

Procure Equipment

Setup ISP Account

Initialize Billing

WebB2B Service

Web Service

Web Service

ISP

Billing System

© Copyright IONA Technologies 2002

Equipment Vendors

17

17

Schedule Truck Roll Web Service

Install Equip.

Activation

Web Services and CORBA • CORBA is platform middleware – Multi-language, multi-platform, object/component oriented, robust, high-performance, reliable, transactional, secure, …. • …. And very well proven: banking, telecommunications, utilities, government, defence, computer animation, astronomy, weather simulation, and so on © Copyright IONA Technologies 2002

• So what’s missing then? – … why would you need Web Services ?

18

18

What can Web Services offer CORBA? • Integration across the web – Not just across firewalls, but integration with the web (technology and acceptance) Web Service

SOAP message

CORBA CORBA Same applies to J2EE, etc.

© Copyright IONA Technologies 2002

Much better web-connectivity than any other web technology.

• Integration across “islands” within an enterprise 19

19

What can CORBA offer Web Services? An implementation platform!

CORBA CORBA EJB EJB Web Service

SOAP message © Copyright IONA Technologies 2002

Other platform middlware, e.g., .NET

20

20

Aggregating backend services Aggregating CORBA services Aggregating J2EE services

© Copyright IONA Technologies 2002

Using XMLBus’s Operation Flows

Java

21

21

No coding!

… or you may need to use Business Processes Workflow Java

© Copyright IONA Technologies 2002

22

22

Other issues • Other reasons why existing interfaces can’t be translated directly into WSDL:

© Copyright IONA Technologies 2002

– Latency – any 10x needs to be taken seriously – Some CORBA interfaces break the “don’t trust the clients” rule – Some CORBA interfaces are “fragile” – Standard WSDL interfaces, or XML schemas

23

23

Su m m ar

3 uses of Web Services

y

• Inter-enterprise communication – Previous web-based technology is very inappropriate

• Intra-enterprise (inter-middleware) communication – forget the idea of a single middleware © Copyright IONA Technologies 2002

• Technology neutral interfaces to packages – e.g., ERP

24

24

Su m m ar

Web Services …

y

• … won’t replace existing middleware ! – CORBA – J2EE – MOM, EAI etc

© Copyright IONA Technologies 2002

although MOM & EAI will have to adapt

Special support for integration of existing middleware with Web Services will be very valuable. 25

25

Su m m ar

Web Services…

y

• … is the basis for Middleware to Middleware Integration (M2M) • But it’s not the full story for this – M2M isn’t trival – No middleware can subsume others • Too big. Compromises. Awkward translations. Wrong QoS. © Copyright IONA Technologies 2002

– Runtime translation costs can sometimes be too high – Many standards required – especially QoS issues

26

26

Follow up – some of the later talks.

© Copyright IONA Technologies 2002

Discussion – Wednesday panel session (or during the coffee breaks)

Suggest Documents