Post on 17-Jul-2020
Lehrstuhl Informatik V(Informationssysteme)
Prof. Dr. M. Jarke
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services
Mediation Framework
Mobile Web Services
Mediation Framework
1/18
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services Mediation Framework
Lehrstuhl Informatik V(Informationssysteme)
Prof. Dr. M. Jarke
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services
Mediation Framework
Mobile Web Services
Mediation Framework
2/18
Outline
Mobile HostMobile Host: QoS extensionsMobile Host in P2P networksMobile Web Services Mediation FrameworkRealization of MWSMFConclusions and future research directions
Lehrstuhl Informatik V(Informationssysteme)
Prof. Dr. M. Jarke
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services
Mediation Framework
Mobile Web Services
Mediation Framework
3/18
Mobile HostWireless developmentsMobile web services [LA, OMA]
Mobile web service provisioningImplementation details– Implemented in PersonalJava– Uses kSOAP2– SOAP over HTTP– Upgraded to J2ME
Performance analysis– Acceptable performance levels for service delivery– The WS processing time at the Mobile Host (< 10%) – Directly proportional to achievable transmission rates– High data transmission rates with 3G & 4G
WSWS
Service Requester
WSDL
SOAP
UDDI Registry
Mobile Host
Find
Refers
DescribePublish
WSWS
Service Requester
WSDL
SOAP
UDDI Registry
Mobile Host
Find
Refers
DescribePublish
Lehrstuhl Informatik V(Informationssysteme)
Prof. Dr. M. Jarke
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services
Mediation Framework
Mobile Web Services
Mediation Framework
4/18
Mobile Host QoS extensions –Security issues
Security breachesEnd-to-end securitySecurity Standards for web services– XML Encryption [W3C]
– XML Signature [W3C]
– WSSE (WS-Security Standard) [OASIS]
– SAML (Security Assertion Markup Language) [OASIS]
Adaptability of WSSE for mobile web servicesBouncy Castle Lightweight cryptographic API
Lehrstuhl Informatik V(Informationssysteme)
Prof. Dr. M. Jarke
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services
Mediation Framework
Mobile Web Services
Mediation Framework
5/18
Security resultsConfidentiality & Integrity can be provided for reasonable message sizes of 2kbExtra time to the WS invocation cycle is ~ 2 sec with ConfidentialityIntegrity latency is 2 secSigning on top of encryption ~3.5 secBest scenario (Highly secured and better performance)– AES-256 Symmetric key encryption– RSA 1024 bit key exchange– RSAwithSHA1 signature
Best scenario forces the need for a mediation framework
Lehrstuhl Informatik V(Informationssysteme)
Prof. Dr. M. Jarke
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services
Mediation Framework
Mobile Web Services
Mediation Framework
6/18
Mobile Host QoS extensions –Scalability issues
Scalability aspects– To achieve less data to transmit
Significant for Mobile HostTransmission time constitutes 90% of invocation cycle latency
– Improves battery lifeSize of MWS messageBmsg = Btp + Bmtp + Bsoap + Bapp
Minimal encoding is not always the best optionXML Compression– XMill [Liefke and Suciu, 1999]
– Fast Infoset [Sandoz et al., 2004]
– Efficient XML [AgileDelta]
Lehrstuhl Informatik V(Informationssysteme)
Prof. Dr. M. Jarke
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services
Mediation Framework
Mobile Web Services
Mediation Framework
7/18
Scalability analysis
BinXML [Ericsson and Levenshteyn, 2003]
– XML tags replaced by Unique byte value– 6 reserved bytes (0x00-0x03, 0xFE, 0xFF)– Effective for SOAP messages
Analysis– BinXML enabled MH– Message size 5 kb– ~ 15% gain (1.3 sec)
MWS compression gain:Tmwscg = δTreqt + δTrest − Treqenc − Treqdec − Tresenc − Tresdec
Comparision of mobile web service invocation times with and without BinXML compression
9297
6910
86067964
1205
240
6519
0
1000
2000
3000
4000
5000
6000
7000
8000
9000
10000
Total time atclient
Serverprocessing time
Clientprocessing time
Transmissiontime
Tim
e in
Mill
isec
onds
WithoutBinxmlWithBinxml
Lehrstuhl Informatik V(Informationssysteme)
Prof. Dr. M. Jarke
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services
Mediation Framework
Mobile Web Services
Mediation Framework
8/18
Mobile Host in JXTA network
Technical advantages to Mobile Host– Eliminating the need for Public IP– Better identification/access mechanisms (Peer ID)– Better service discovery
BTS1
BTS2 BTS3JXTA Super peer (Relay & Rendezvous)
JXTA Relay peer
JXTA Rendezvous peer
JXME edge peer
JXME edge peer
JXME edge peer
JXTA Rendezvous peer
JXTA Network
WSWSWSWS
WSWSWSWS
JXME edge peer
WSWSWSWS
Mobile Operator Network
Virtual P2P Network
BTS1
BTS2 BTS3JXTA Super peer (Relay & Rendezvous)
JXTA Relay peerJXTA Relay peer
JXTA Rendezvous peer
JXTA Rendezvous peer
JXME edge peer
JXME edge peer
JXME edge peerJXME edge peer
JXTA Rendezvous peer
JXTA Network
JXTA Rendezvous peer
JXTA Rendezvous peer
JXTA Network
WSWSWSWS
WSWSWSWS
JXME edge peer
WSWSWSWS
Mobile Operator Network
Virtual P2P Network
Lehrstuhl Informatik V(Informationssysteme)
Prof. Dr. M. Jarke
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services
Mediation Framework
Mobile Web Services
Mediation Framework
9/18
Mobile web service discovery issuesWeb service discoveryHuge number of services are possible with Mobile HostsCentralized UDDI not the best solution– Problems with bottlenecks
Mobile nodes are dynamic– Binding information changes regularly– Services are to be published again and again
Dynamic service discovery mechanisms– Announce listen model (e.g. Jini)– Distributed P2P WS registry (VISR) [Dustdar and Treiber, 2006]
– Konark [Lee et al., 2003]
– UPnP
Lehrstuhl Informatik V(Informationssysteme)
Prof. Dr. M. Jarke
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services
Mediation Framework
Mobile Web Services
Mediation Framework
10/18
Mobile web services discoveryPublishing mobile web services in JXTA / JXME– JXTA Modules– Life time of advertisements
MSAs advertise mobile web servicesDiscovery of MSAs with name & description– Works, but not very precise
Module ImplementationAdvertise a platform specific implementation
Module SpecificationAdvertise how to access a Service (API, messages)
Module class Advertise the existence of a service
Module ImplementationAdvertise a platform specific implementation
Module SpecificationAdvertise how to access a Service (API, messages)
Module class Advertise the existence of a service
UDDI Registry
Service Interface
Service Implementation
WSDL
Module ImplementationAdvertise a platform specific implementation
Module SpecificationAdvertise how to access a Service (API, messages)
Module class Advertise the existence of a service
Module ImplementationAdvertise a platform specific implementation
Module SpecificationAdvertise how to access a Service (API, messages)
Module class Advertise the existence of a service
UDDI Registry
Service Interface
Service Implementation
Service Interface
Service Implementation
Service Implementation
WSDL
<jxta:MSA><MSID> . . . </MSID>. . . <Parm>
<WSDL>. . .
<WSDL></Parm>. . . </jxta:MSA>
Lehrstuhl Informatik V(Informationssysteme)
Prof. Dr. M. Jarke
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services
Mediation Framework
Mobile Web Services
Mediation Framework
11/18
Advanced mobile web service discovery
Categorization using MCAMCAs simulate Category bags & tModels in UDDIPeer Groups simulate business groupsPost-filtering of mobile web services– Search can also extend to WSDL information– Search should be based on weight of keywords– Apache Lucene tool
Based on indexing– Advanced Matching of Services (AMS)
Context-aware service discovery [WSTalk]
– To achieve very precise results– Ontology based context engine
Lehrstuhl Informatik V(Informationssysteme)
Prof. Dr. M. Jarke
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services
Mediation Framework
Mobile Web Services
Mediation Framework
12/18
Mobile Web Services Mediation Framework
How to integrate mobile web services and P2P domains taking care of QoS?
BTSJXTA Super peer
JXTA Relay peer
JXTA Rende-zvous peer
JXME edge peer
JXME edge peer
JXME edge peer
JXME edge peer
JXME edge peer
JXME edge peer
Virtual P2P Network
BTSJXTA Super peer
JXTA Relay peer
JXTA Rende-zvous peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
Virtual P2P Network
MWSMF UDDI
WS Accessible to IP network
QoS Provisioning
BTSJXTA Super peer
JXTA Relay peer
JXTA Rende-zvous peer
JXME edge peer
JXME edge peer
JXME edge peer
JXME edge peer
JXME edge peer
JXME edge peer
Virtual P2P Network
BTSJXTA Super peer
JXTA Relay peer
JXTA Rende-zvous peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
Virtual P2P Network
MWSMF UDDIUDDI
WS Accessible to IP network
QoS Provisioning
BTS2 BTS3BTS2 BTS3
InternetInternetWS Client
JXTA Network
JXTA Rende-zvous peerJXTA Rende-zvous peer
BTSJXTA Super peer
JXTA Relay peer
JXTA Rende-zvous peer
JXME edge peer
JXME edge peer
JXME edge peer
JXME edge peer
JXME edge peer
JXME edge peer
Virtual P2P Network
BTSJXTA Super peer
JXTA Relay peer
JXTA Rende-zvous peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
Virtual P2P Network
MWSMF UDDI
WS Accessible to IP network
QoS Provisioning
BTSJXTA Super peer
JXTA Relay peer
JXTA Rende-zvous peer
JXME edge peer
JXME edge peer
JXME edge peer
JXME edge peer
JXME edge peer
JXME edge peer
Virtual P2P Network
BTSJXTA Super peer
JXTA Relay peer
JXTA Rende-zvous peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
JXME edge peerJXME edge peer
Virtual P2P Network
MWSMF UDDIUDDI
WS Accessible to IP network
QoS Provisioning
BTS2 BTS3BTS2 BTS3
InternetInternetInternetInternetWS Client
JXTA Network
JXTA Rende-zvous peerJXTA Rende-zvous peerJXTA
Network
JXTA Rende-zvous peerJXTA Rende-zvous peer
Lehrstuhl Informatik V(Informationssysteme)
Prof. Dr. M. Jarke
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services
Mediation Framework
Mobile Web Services
Mediation Framework
13/18
MWSMF realization
Why Enterprise service Bus (ESB)?– Any SOA should be sufficient for the purpose– Web services are best means of realizing SOA– Latest developments in web services domain
Enterprise service Bus (ESB)– “Enterprise Service Bus provides a set of infrastructure
capabilities, implemented by middleware technology, that enable the integration of services in an SOA” [Gartner, Inc.]
Java Business Integration (JBI)ServiceMix
Lehrstuhl Informatik V(Informationssysteme)
Prof. Dr. M. Jarke
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services
Mediation Framework
Mobile Web Services
Mediation Framework
14/18
MWSMF - Components
InternetInternetWS Client InternetInternetInternetInternetWS Client
MWSMF
HttpReceiver
Broker
XSLTTransformer
ContentBasedRouter
HttpInvoker
Normalized
Message
Router
QoSVerifier
SAAJBinding
P2PMapper ContextEngine
BinaryTransformer
Mobile HostWSWS
Mobile HostWSWS
InternetInternetWS Client InternetInternetInternetInternetWS Client
MWSMF
HttpReceiver
Broker
XSLTTransformer
ContentBasedRouter
HttpInvoker
Normalized
Message
Router
QoSVerifier
SAAJBinding
P2PMapper ContextEngine
BinaryTransformer
Mobile HostWSWS
Mobile HostWSWS
Lehrstuhl Informatik V(Informationssysteme)
Prof. Dr. M. Jarke
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services
Mediation Framework
Mobile Web Services
Mediation Framework
15/18
Message flows in MWSMF
Supplementary features of MWSMF– Hosts a UDDI registry– Supports automatic startup of
Mobile HostsPushRegistry feature of WMA
HttpReceiver
Broker
HttpInvoker
NMR
BinaryTransformer
Mobile HostWSWS
Mobile HostWSWS
Internet
MWSMF
1
2
34
5
6 7
8
910
11
12
JBI Container
HttpReceiver
Broker
HttpInvoker
NMR
BinaryTransformer
Mobile HostWSWS
Mobile HostWSWS
InternetInternet
MWSMF
1
2
34
5
6 7
8
910
11
12
JBI ContainerMobile web service message optimization scenario
Lehrstuhl Informatik V(Informationssysteme)
Prof. Dr. M. Jarke
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services
Mediation Framework
Mobile Web Services
Mediation Framework
16/18
Performance evaluation of MWSMFApacheBench load generatorEstablished on a laptopSuccessful in handling 110 concurrent requestsMean value of handling a client ~ 130 msEvaluation proved that MWSMF can handle large number of concurrent clients
Time-Diagram
0.00
5,000.00
10,000.00
15,000.00
20,000.00
25,000.00
30,000.00
35,000.00
10 30 50 70 90 110
130
160
200
240
280
No of concurrent requests
Tim
e to
han
dle
sing
le c
lient
(ms)
Time
TPS-Diagram
0
2
4
6
8
10
12
14
16
10 30 50 70 90 110
130
160
200
240
280
No of concurrent requests
Tran
sact
ions
per
sec
ond
(TP
S)
TPS
Lehrstuhl Informatik V(Informationssysteme)
Prof. Dr. M. Jarke
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services
Mediation Framework
Mobile Web Services
Mediation Framework
17/18
ConclusionsQoS aspects for MWS are discussedAlternatives for mobile web services discovery are identifiedArchitecture, features and realization details of MWSMF are identifiedDiscussed mobile web service message optimizationscenarioEvaluation proved MWSMF deployment scenario is feasibleRemaining components of the MWSMF are to be realized– P2P Mapper– ContextEngine
Further scenarios can be envisioned
Lehrstuhl Informatik V(Informationssysteme)
Prof. Dr. M. Jarke
Satish SriramaMatthias JarkeWolfgang Prinz
Mobile Web Services
Mediation Framework
Mobile Web Services
Mediation Framework
18/18
Thank you