46
Enterprise Mashup A closer look at Mashup and its Enterprise adoption! Swarraj Kulkarni, Principal Architect Cognizant Disclaimer: The views are personal

Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Enterprise Mashup

A closer look at Mashup and its Enterprise adoption!

Swarraj Kulkarni, Principal Architect

CognizantDisclaimer: The views are personal

Page 2: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Discussion Points

- Mashup Defined and Elaborated- Mashup Types- Mashup Examples

- Mashup Defined and Elaborated- Mashup Types- Mashup Examples

- Portal Vs Mashup- Current stage of Enterprise- Mashup integration points - Concerns in Enterprise Mashup

- Portal Vs Mashup- Current stage of Enterprise- Mashup integration points - Concerns in Enterprise Mashup

- Mashup usage in sample Application- Mashup usage in sample Application

- Parting Thoughts- Parting Thoughts

MashupMashup

Enterprise MashupEnterprise Mashup

Demo ScreensDemo Screens

SummarySummary

Page 3: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Mashup – Wikipedia definition

A Mashup is a web application that combines data from morethan one source into a single integrated tool.

A Mashup is a web application that combines data from morethan one source into a single integrated tool.

Page 4: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Mashup – Simplified definition

• A web Mashup is a website or web application that uses content from more than one source to create a completely new service

• Content used in Mashup is typically sourced from a third party via a public interface or so called API

• Web Mashup = API [1] + API [2] + API [N]

Page 5: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Mashup – Pictorial representation

Information Source

A

Information Source

A

Information Source

C

Information Source

C

Information Source

B

Information Source

B

Mashup ApplicationMashup Application

RSS/Atom / WS/…RSS/Atom / WS/… RSS/Atom / WS/…

RIARIA

ConsumerConsumer EnterpriseEnterprise

Page 6: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Mashup Characteristics

• Content comes from different independent applications

• Components producing the content are from different technologies

• These components are integrated by using lightweight approaches

• This combination provides new way of using the components

• Collaborative composition

• Support ad hoc application assembly

Page 7: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

HousingMaps.com – Google Map based example

Page 8: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Mashup - Styles

Page 9: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Server side Vs Client side Mashup

Need to provide server side proxyConstraints on making many async callsMay have performance bottlenecksNeed to handle data of any size / Format

Can make multiple concurrent & asynccalls

No buffer to shield from other site problems

Security requirements handled easilyDifficult to handle security requirementsSupport caching, format changeCan reduce processing load on serverContent ManipulationPerform better

Can serve as a buffer to take care of problems

No need to provide server side component

Easy to access other information servers Easy to implementServer side MashupClient side Mashup

Page 10: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Quiz time -1

Gangadhar Bhadani

India’s best known wikipedian

Associated with Wikipedia since Sept 2005

Contributed to > 500 articles on variety of topics

Page 11: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Mashup underlying technologies

MicroformatsMicroformats

RESTREST

ATOMATOM

RSSRSS

JSONJSON

AJAXAJAX

WS*WS*

JMSJMS

RPCRPC

ProprietaryAPIHTTPHTTP

SOAPSOAP

HTMLHTML

XMLXML

Mashup (Web 2.0)• Light weight

• De-facto standards

• Versatile and multipurpose

• Uses the web as platform

Traditional Integration • Tight integration

• Cumbersome

• Integration is a big project

Source: Kapowtech presentation at JavaOne 2007 http://developers.sun.com/learning/javaoneonline/2007/pdf/TS-8544.pdf

Page 12: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Mashup with Yahoo! Pipe

• Web application from Yahoo! With GUI for building Mashup applications

• Combine many feeds into one, then sort, filter and translate it

• Geocode favorite feeds and browse the items on an interactive map.

• Grab the output of any Pipes as RSS, JSON, KML, and other formats

• You can publish your pipes and share with others

• You must try it @ http://pipes.yahoo.com/pipes/

Page 13: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Yahoo! Pipe – Simple example

Page 14: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Yahoo! Pipe – Simple example

Page 15: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Mashup with Google Map

• The Google Maps API lets you embed Google Maps in your own web pages with JavaScript

• The API provides a number of utilities for manipulating maps

• It supports adding content to the map through a variety of services to build Enterprise applications

• The Google Maps API now adds supports for Mapplets (Maps + Gadgets), which allow you to embed externally hosted applications within Google Maps

• More information at http://www.google.com/apis/maps/documentation/index.html

Page 16: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Quiz Time - 2

Jimmy Wales

Creator of Wikipedia

Launched on 15th January, 2001

75,000 active contributors

7,500,000 articles in more than 253 languages

1,835,642 articles in English

Page 17: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Can we talk about how it is relevant in Enterprise?

Can we talk about how it is relevant in Enterprise?

Page 18: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Current scenario of Enterprise - 1: Too many applications and Technologies to manage

• Multiple Web Applications

• Inconsistent design & Technology

• Expensive to maintain

• Expensive to administer

• Expensive to integrate

• User need to work on multiple apps

• Overall IT bottleneck Web Application – 6(OSS)

Web Application – 3(OSS)

Web Application – 1(Java)

Web Application – 5(Java)

Web Application – 2(.NET)

Administrator

Page 19: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Rationalization with Enterprise Portals

• Rationalize legacy webapps into the portal

• Unified application stack

• Common infrastructure

• Common security

• Administration

• Content delivery

Enterprise Portal

Administrator

Page 20: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Mashup’s role

• Acts as a stepping stone

• Incremental approach

• Middle ground for applications which

can not be migrated to portals

Administrator

Web App 1

Web App 2

Mashup

Enterprise Portal

Page 21: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Current scenario of Enterprise - 2:Lengthy application construction phase

• Long App development cycles

• Fixed set of features

• No easy support for assembly

• No easy support for customization

Enterprise Users

Web App– 1Web App– 2

Web App– 3

Page 22: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Mashup’s role

• Ad hoc application development

• User in control

• Need based assembly

• Need based customization

• Business users can do work

without involving IT

Enterprise Users

Web App– 1Web App– 2

Web App– 3

Mashup

Page 23: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Current scenario of Enterprise :No access to outside world

• Restricted to Enterprise boundary

• No integration with consumer apps

• Not effective reuse

InternetEnterprise boundary

Web App– 1

External Web App

Enterprise Users

X

Page 24: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Mashup’s role

• Ability to integrate with external apps

• Effective reuse

• Reduced development cycle

InternetEnterprise boundary

Web App– 1

External Web App

Mashup

Enterprise Users

Page 25: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

What is wrong with traditional integration then?

• High cost

• Long running development

• May need overall understanding of existing application

• Lack of expertise

• Integration with external entities too complex

• Overall reduced business agility

Page 26: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Mashup – Are they same as Portals?

specific Mashup standards are expected to emerge Portlet behavior is governed by standards

CRUD operations are based on REST architectural principles, but no formal API exists

Read and update event models are defined through a specific portlet API

Individual content may be combined in any manner, resulting in arbitrarily structured hybrid content

Aggregated content is presented 'side-by-side' without overlaps

Content aggregation can take place either on the server or on the client

Content aggregation takes place on the server

Can operate on pure XML content and also on presentation-oriented content (e.g., HTML)

Aggregates presentation-oriented markup fragments (HTML, WML, VoiceXML, etc.)

Adopts a more fundamental approach to content aggregation without regard to markup

Approaches aggregation by splitting role of web server into two phases - markup generation and aggregation of markup fragments

Newer, "Web 2.0" technology Older technology, extension to traditional web server model

MashupPortals

-Source : Wikipedia

Page 27: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Quiz Time - 3

Virtual World

Second Life

Page 28: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Types of Enterprise Mashup

BusinessLogic

UI

BusinessLogic

UIPresentation

level

Logic based

Data based

Database

Application – 1 Mashup Application – 2

Database

Page 29: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Presentation level Mashup

• Set of simple widgets each facing content from different source

• Information and layout is retrieved and either remixed or just placed next to each other

• Many of the AJAX Desktops (or personalized start pages ) fall into this category

• Portals where portlets fetch data from multiple sources

Source: http://blogs.zdnet.com/Hinchcliffe/?p=8

Page 30: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Logic based Mashup

Java

.NETLogic based

Mashup

WS

Web enabledApp

WS

HTML

REST

Exposed services

(API / WS)

• Comparative complex

• Involves programming

• Programmatic access to business logic through REST / SOAP services

• Example: Combination of a Google map service with a price comparison service

• Act as an adopter that connect to any web enabled application

Page 31: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Data level Mashup

• Extracts and collects data from a different web enabled data sources

• Result of content integration can be made available in

• Database

• XML

• RSS

• Etc

Page 32: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Inside a Mashup

Source: Kapowtech presentation at JavaOne 2007 http://developers.sun.com/learning/javaoneonline/2007/pdf/TS-8544.pdf

Data SourcesUsers Mashup

Widget

WidgetMashupEnabler

RESTAtom

RSSAPI WS*

RPC SQLJMS

WS* API

Web Scrapping

SQL

WS*

App

Web

HTML

AJAX

Mashup Builder

DB

Page 33: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Mashup – Stake holders and life cycle

Collaborate

Improve

Create

Control

Assemble

Customize

MashupMashup

Page 34: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Theory looks good, but…Theory looks good, but…

Page 35: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Top Challenges for Enterprise Mashup

1. Mashup assembly model is not yet commonly accepted

2. Services, which are backbone of Mashup, are immature

3. Discrepancy in widget model

4. Who will create, maintain and support Mashup?

5. Security

6. Data quality & accuracy

Source – Dion Hinchcliffe’ ZDNet blog (16th October 2007)

Page 36: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Top Challenges for Enterprise Mashup

7. Version Management

8. Awareness of potential

9.Support by major Software vendors

10. Lack of killer demo Mashup applications

Source – Dion Hinchcliffe’ ZDNet blog (16th October 2007)

Page 37: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Quiz Time - 4

ZDNet

Dion Hinchcliffe

Page 38: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Simple demo use case

• Consolidated portal to find out client names and addresses in a given city

• Shared calendar and To-do list

• Weather report

• Flight details

• Chart

• Travel arrangement

• City information

• Recreation, etc

Mr. John, VP Marketing

XYZ Inc, USA

Page 39: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Mashup role in the demo

API NAME: Sparkline Generator URL: http://bitworking.org/projects/sparklines/

Input: query parameters to http://bitworking.org/projects/sparklines/spark.cgi

Output: An image with values plotted

Google Map

Page 40: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Mashup role in the demo

API Name: Weather Channel APIURL: http://www.weather.com/services/xmloap.html

Input: City Name, no of daysOutput:: XML

Page 41: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Global SoA – Change in model?

The world basically and fundamentally is constituted on the basis of harmony. Everything works in co-operation with

something else.

Page 42: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Is Enterprise Mashup a hype?

• 21% of executives are using or have plans to adopt Mashup in the enterprise –2007 McKinsey Survey on Internet Technologies

• By 2010, Mashup will be the dominant model (80 per cent) for the creation of composite enterprise applications - Top 10 Technologies for 2008 : Gartner

• 22% of the senior executives mentioned about using Mashup as on today and 42% have plans to use –Economic Intelligence unit survey, 2007

Page 43: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Summary

• Mashup are not about developers writing code, but about users designing information

• Using Mashup help you:– do more in less time– and don’t have to reinvent

the wheel

• Collaboration is messy, frustrating, time consuming …and indispensable

Page 44: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

References

1. Dion Hinchcliffe’s blog at http://blogs.zdnet.com/Hinchcliffe/

2. Whitepapers and products from www.Jackbe.com

3. Whitepapers and products from www.kapowtech.com

4. Yahoo! Pipes http://pipes.yahoo.com/pipes

5. Google Map http://www.google.com/apis/maps/index.html

6. Sun JavaOne presentations

7. BEA Webinar http://dev2dev.bea.com/pub/e/1023

8. Programmableweb http://programmableweb.com

9. Javasoft articles on Mashup http://java.sun.com/developer/technicalArticles

Page 45: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Q/A

Page 46: Enterprise Mashup - Swarraj Kulkarni - IndicThreads€¦ · Mashup assembly model is not yet commonly accepted 2. Services, which are backbone of Mashup, are immature 3. Discrepancy

Thank [email protected]

Disclaimer: The views are personal