More Related Content
Similar to Mashup Services Overview
Similar to Mashup Services Overview (20)
Mashup Services Overview
- 1. Mashup Services – Overview
© BACKBASE / CUSTOMER EXPERIENCE SOLUTIONS / JACOB BONTIUSPLAATS 9 / 1018 LL / AMSTERDAM 1
- 2. MASHUP SERVICES
• Problems of directly using content
- Access problems, i.e. same origin policy
- Content problems, i.e. adaptation, transformations, filtering
- Performance problems – i.e. unreliable, legacy, slow connections
• Mashup Services solve these problems
© BACKBASE / CUSTOMER EXPERIENCE SOLUTIONS / JACOB BONTIUSPLAATS 9 / 1018 LL / AMSTERDAM
- 3. MASHUP SERVICE
• Mashup Service = Proxy Transform Caching
• Note: Internally called PTC
• Proxy
• overcoming security restriction on network connections
• Transformation
• requests and responses are filtered and transformed for
data consumers, such as Rich Portal widgets
• based on the concept of pipe
• a chain of processing elements arranged so that the output of
each element is the input of the next
• Caching
• improve performance
© BACKBASE / CUSTOMER EXPERIENCE SOLUTIONS / JACOB BONTIUSPLAATS 9 / 1018 LL / AMSTERDAM 3
- 4. FEATURES OF THE MASHUP SERVICE
• Proxy
- Proxy to Remote Resources
- Build-in data provider for GET and POST requests
- Custom Data Providers
• Transformation
- Any kind of transformation (XSLT out of the box, velocity
or others are possible)
- Ability to transform both requests and responses
- Custom Transformations
• Caching
- Based on eh-cache
- Possible to share cache settings across pipes
© BACKBASE / CUSTOMER EXPERIENCE SOLUTIONS / JACOB BONTIUSPLAATS 9 / 1018 LL / AMSTERDAM 4
- 5. MASHUP SERVICES
Remote Server
Browser
Portal Client Page
Backbase
Portal Server
data provider
transform filter
filters transform
Pipe
Cache
Mashup Services
© BACKBASE / CUSTOMER EXPERIENCE SOLUTIONS / JACOB BONTIUSPLAATS 9 / 1018 LL / AMSTERDAM
- 6. DEPLOYMENT OPTIONS
• There are 2 deployment options for Mashup Service
- Embedded
• A part of the portal server project
- Standalone
• Separate from a portal server
• Can be shared by several portal servers
© BACKBASE / CUSTOMER EXPERIENCE SOLUTIONS / JACOB BONTIUSPLAATS 9 / 1018 LL / AMSTERDAM
- 7. EMBEDDED
MASHUP SERVICES Remote Server
Browser
Portal Client Page
Backbase
Portal
Server
Internal
Portal Proxy
Mashup Services
© BACKBASE / CUSTOMER EXPERIENCE SOLUTIONS / JACOB BONTIUSPLAATS 9 / 1018 LL / AMSTERDAM
- 8. STANDALONE
MASHUP SERVICES Remote Server
Browser
Portal Client Page
AJAX Code
Forms
Backbase
Portal
Backbase
Server
Portal
Backbase
Server
Portal
Server
Standalone Mashup
Internal Services
Portal Proxy
© BACKBASE / CUSTOMER EXPERIENCE SOLUTIONS / JACOB BONTIUSPLAATS 9 / 1018 LL / AMSTERDAM
- 9. PIPE
• A central concept of Mashup Service
• Pipe: “a chain of processing elements arranged so
that the output of each element
is the input of the next”
© BACKBASE / CUSTOMER EXPERIENCE SOLUTIONS / JACOB BONTIUSPLAATS 9 / 1018 LL / AMSTERDAM 9
- 10. PIPE
Remote Server
Browser
By default, data provider is
Portal Client Page an HTTP Client,
can be customized
Backbase
Portal Server
data provider
transform filter
filters transform
Pipe
Cache
Mashup Services
© BACKBASE / CUSTOMER EXPERIENCE SOLUTIONS / JACOB BONTIUSPLAATS 9 / 1018 LL / AMSTERDAM
- 11. MASHUP: PIPE CONFIGURATION
• resources/ptc-config.xml
• The “pipe” tag matches requests to configurations
• The configuration of each pipe includes the following:
- Multiple request and response Filters
- Multiple request and response Transformers
- Caching (pipe-specific OR shared among many pipes)
- Data provider (pipe-specific OR shared among many pipes)
• Pipes match top to bottom
© BACKBASE / CUSTOMER EXPERIENCE SOLUTIONS / JACOB BONTIUSPLAATS 9 / 1018 LL / AMSTERDAM 11
- 12. PIPE CONFIGURATION (cont.)
request
Mashup
© BACKBASE / CUSTOMER EXPERIENCE SOLUTIONS / JACOB BONTIUSPLAATS 9 / 1018 LL / AMSTERDAM 12
- 13. EXAMPLES OF SIMPLE PIPE CONFIGURATIONS
<pipe name="simplestPipe"/>
http://localhost:7777/portalserver/proxy?pipe=simplestPipe&url=http://www.backbase.com
<pipe name="rssPipe">
<response-transform>
<transform class=“c.b.p.p.t.r.i.XSLTTransformer">
<param name="xsltFile" value="/WEB-INF/xslt/rss/rss2xhtml.xsl" />
<param name="cacheXSLFile" value="false" />
</transform>
</response-transform>
</pipe>
© BACKBASE / CUSTOMER EXPERIENCE SOLUTIONS / JACOB BONTIUSPLAATS 9 / 1018 LL / AMSTERDAM