45
SEMANTIC ENTERPRISE INTEGRATION Radu’s Research Proposal Saturday, 3 December 11

Semantic Enterprise Integration

Embed Size (px)

DESCRIPTION

Radu Sora - Research Proposal PresentationNovel way to do enterprise integration using a mix of level 3 REST APIs (HATEOAS), Ontology Reconciliation and capability based security.*Starbucks example is inspired from Jim Webber's "HATEOAS - The confusing bit of REST"

Citation preview

Page 1: Semantic Enterprise Integration

SEMANTIC ENTERPRISE INTEGRATIONRadu’s Research Proposal

Saturday, 3 December 11

Page 2: Semantic Enterprise Integration

OPPORTUNITYOne entrepreneur identifies a great business opportunity

Saturday, 3 December 11

Page 3: Semantic Enterprise Integration

PARTNER IDENTIFICATIONWho can help me deliver the work?

Saturday, 3 December 11

Page 4: Semantic Enterprise Integration

PARTNER SELECTIONWho do I select to implement the different parts?

Saturday, 3 December 11

Page 5: Semantic Enterprise Integration

AGREEMENTCan we agree to be partners and make a bid for the tender?

Saturday, 3 December 11

Page 6: Semantic Enterprise Integration

COLLABORATIONHow do we share information between the partners?

Saturday, 3 December 11

Page 7: Semantic Enterprise Integration

PARTNERSHIP FORMATIONHow do we go from identifying the business opportunity to delivering the work

Opportunity Partner Identification Partner Selection Agreement Collaboration

Saturday, 3 December 11

Page 8: Semantic Enterprise Integration

PARTNERSHIP FORMATIONHow do we go from identifying the business opportunity to delivering the work

Opportunity Partner Identification Partner Selection Agreement Collaboration

Saturday, 3 December 11

Page 9: Semantic Enterprise Integration

PARTNERSHIP FORMATIONHow do we go from identifying the business opportunity to delivering the work

Opportunity Partner Identification Partner Selection Agreement Collaboration

West Midlands Collaborative Common Marketplace

Saturday, 3 December 11

Page 10: Semantic Enterprise Integration

PARTNERSHIP FORMATIONHow do we help the parters to share more information between them?

Collaboration

Saturday, 3 December 11

Page 11: Semantic Enterprise Integration

SUPPLY CHAIN EXAMPLEWe can assemble the baby carriages, but where do we get the parts?

Assembler

Saturday, 3 December 11

Page 12: Semantic Enterprise Integration

SUPPLY CHAIN EXAMPLEWhere do our suppliers get their materials?

Assembler

Textiles Company

Iron Works Company

Saturday, 3 December 11

Page 13: Semantic Enterprise Integration

SUPPLY CHAIN EXAMPLEAnd finally where do the raw materials come from?

Material Supplier

Material Supplier

Assembler

Textiles Company

Iron Works Company

Saturday, 3 December 11

Page 14: Semantic Enterprise Integration

SUPPLY CHAIN EXAMPLEHow can we share information across the whole supply chain?

Material Supplier

Material Supplier

Assembler

Textiles Company

Iron Works Company

Raw Material Supplier

Raw Material Supplier

Raw Material Supplier

Saturday, 3 December 11

Page 15: Semantic Enterprise Integration

HUB INTEGRATION

Material Supplier

Material Supplier

Assembler

Textiles Company

Iron Works Company

Raw Material Supplier

Raw Material Supplier

Raw Material Supplier

Saturday, 3 December 11

Page 16: Semantic Enterprise Integration

SERIAL BUS INTEGRATION

Material Supplier

Material Supplier

AssemblerTextiles Company

Iron Works Company

Raw Material Supplier

Raw Material Supplier Raw Material Supplier

Saturday, 3 December 11

Page 17: Semantic Enterprise Integration

Going on the enterprise service bus architecture, trying to standardise the way

in which companies communicate via “blueprints”

Saturday, 3 December 11

Page 18: Semantic Enterprise Integration

Going with the assumption that in a regional context we can configure a cloud

with the applications that most companies need to use

Saturday, 3 December 11

Page 19: Semantic Enterprise Integration

ANY SILVER BULLET ALTERNATIVE ?

• Cheap, non-proprietary;

• Fast to implement;

•Distributed - no single point of failure;

• Re-use of already systems and data;

Saturday, 3 December 11

Page 20: Semantic Enterprise Integration

DISTRIBUTED INTEGRATION

Material Supplier

Material Supplier

Assembler

Textiles Company

Iron Works Company

Raw Material Supplier

Raw Material Supplier

Raw Material Supplier

Saturday, 3 December 11

Page 21: Semantic Enterprise Integration

HOW DO PEOPLE COMMUNICATEThey don’t need rules to govern their communication

Saturday, 3 December 11

Page 22: Semantic Enterprise Integration

HOW TO MACHINES COMMUNICATEMachines rely heavily on pre-approved rules to govern their communication

Saturday, 3 December 11

Page 23: Semantic Enterprise Integration

DISTRIBUTED INTEGRATION

Material Supplier

Material Supplier

Assembler

Textiles Company

Iron Works Company

Raw Material Supplier

Raw Material Supplier

Raw Material Supplier

2

1

3

4

5

6

7

8

9 10 11

12

13

Saturday, 3 December 11

Page 24: Semantic Enterprise Integration

ROY FIELDINGREST - Representational State Transfer

Saturday, 3 December 11

Page 25: Semantic Enterprise Integration

THE WEB IS THE PLATFORMScalable, Fault-Tolerant, Recoverable, Secure, Loosely Coupled

Saturday, 3 December 11

Page 26: Semantic Enterprise Integration

http://wmccm.co.uk/suppliers

{   count:  11000,   filters:  none,   list:  {     {       id:  1,       name:  "A  &  E  Asbestos  Ltd",       competencies:  {         "Asbestos"       }     },       {       id:  2,       name:  "Bedson  Ltd",       competencies:  {         "Material  Handling  &  Packaging",  "Supply  Chain  Management"       }     },  ...         }}

Saturday, 3 December 11

Page 27: Semantic Enterprise Integration

http://wmccm.co.uk/suppliers/2

{     id:  2   name:  "Bedson  Ltd",   postcode:  "CV2  5DB",   phone:  "024  7661  4542",   fax:  "024  7661  4523",   website:  "http://www.bedsons.com",   products-­‐services:  {     "inspection  head  lamps",  "surge  protectors",  "low  voltage  transformers"   }   ...}

Saturday, 3 December 11

Page 28: Semantic Enterprise Integration

MACHINES NEED A CONTRACT TO COMMUNICATE EFFECTIVELY

Is there a way to overcome this limitation?

Saturday, 3 December 11

Page 29: Semantic Enterprise Integration

HATEOAS THE CONFUSING BIT OF REST

Hypermedia As Engine of The Application State

Saturday, 3 December 11

Page 30: Semantic Enterprise Integration

STARBUCKS EXAMPLEHow would a machine order a coffee?

Saturday, 3 December 11

Page 31: Semantic Enterprise Integration

201 CreatedLocation: http:/restbucks.com/order/1234Content-Type: application/ vnd.starbucks+xmlContent-Length: ...

<order xmlns="urn:restbucks"><drink>latte</drink><link rel="payment" href="https://starbucks.com/ payment/order/1234" type="application/xml"/></order>

POST /order HTTP 1.1Host: starbucks.comContent-Length: ...

<order xmlns="urn:starbucks"><drink>latte</drink></order>

REGULAR DAY AT STARBUCKS

Request Response

Saturday, 3 December 11

Page 32: Semantic Enterprise Integration

PUT /payment/order/1234 HTTP 1.1Host: starbucks.comContent-Type: application/xmlContent-Length: ...

<payment xmlns="urn:starbucks"><cardNo>123456789</cardNo><expires>07/07</expires><name>John Citizen</name><amount>4.00</amount></payment>

201 Createdhttps://starbucks.com/payment/order/1234Content-Type: application/xmlContent-Length: ...

<payment xmlns="urn:starbucks"><cardNo>123456789</cardNo><expires>07/07</expires><name>John Citizen</name><amount>4.00</amount></payment>

REGULAR DAY AT STARBUCKS

Request Response

Saturday, 3 December 11

Page 33: Semantic Enterprise Integration

GET /order/1234 HTTP 1.1 Host: starbucks.com

200 OKContent-Type: application/ vnd.starbucks+xmlContent-Length: ...

<order xmlns="urn:starbucks"><drink>latte</drink></order>

REGULAR DAY AT STARBUCKS

Request Response

Saturday, 3 December 11

Page 34: Semantic Enterprise Integration

201 CreatedLocation: http:/restbucks.com/ order/1234Content-Type: application/ vnd.starbucks+xmlContent-Length: ...

<order xmlns="urn:restbucks"><drink>latte</drink></order>

POST /order HTTP 1.1Host: starbucks.comContent-Length: ...

<order xmlns="urn:starbucks"><drink>latte</drink></order>

GENEROUS BARISTA AT STARBUCKS

Request Response

Saturday, 3 December 11

Page 35: Semantic Enterprise Integration

GET /order/1234 HTTP 1.1 Host: starbucks.com

200 OKContent-Type: application/ vnd.starbucks+xmlContent-Length: ...

<order xmlns="urn:starbucks"><drink>latte</drink></order>

GENEROUS BARISTA AT STARBUCKS

Request Response

Saturday, 3 December 11

Page 36: Semantic Enterprise Integration

SO MACHINES CAN TALK WITHOUT RULES

But how do we make them talk the same language?

Saturday, 3 December 11

Page 37: Semantic Enterprise Integration

SIR TIM BERNERS-LEEFather of the World Wide Web and the

Semantic Web

Saturday, 3 December 11

Page 38: Semantic Enterprise Integration

ONTOLOGY RECONCILIATION

Customer

HomePhone Town ZipPlus FullName

Customer

Address FirstName LastName Email

City ZipCode

Country

Saturday, 3 December 11

Page 39: Semantic Enterprise Integration

ONTOLOGY RECONCILIATION

Customer

HomePhone Town ZipPlus FullName

Customer

Address FirstName LastName Email

City ZipCode

Country

is-a

has-a

same-as

Saturday, 3 December 11

Page 40: Semantic Enterprise Integration

GOOD RELATIONSUsed by Google, Yahoo, BestBuy and 10.000 more

Saturday, 3 December 11

Page 41: Semantic Enterprise Integration

DATA SHARING AND SECURITY This can’t be done in a decentralised way, can it?

Saturday, 3 December 11

Page 42: Semantic Enterprise Integration

WHAT ABOUT KEYS?Humans already have quite a good method of dealing with distributed security

Saturday, 3 December 11

Page 43: Semantic Enterprise Integration

TOKEN PASSING ALONG THE CHAIN

Material Supplier

Material Supplier

Assembler

Textiles Company

Iron Works Company

Raw Material Supplier

Raw Material Supplier

Raw Material Supplier

Saturday, 3 December 11

Page 44: Semantic Enterprise Integration

ANY SILVER BULLET ALTERNATIVE ?

Cheap, non-proprietary

Fast to implement

Distributed - no single point of failure

Re-use of already systems and data

REST Architecture using the WWW

No need to agree on rules, just ontology

No single point of failure, 1-to-1 integration

Ontology reconciliation

Saturday, 3 December 11

Page 45: Semantic Enterprise Integration

THANK YOU!Time for some criticism...

Saturday, 3 December 11