Top Banner
Service Oriented Service Oriented Architecture for Architecture for Mobile Applications Mobile Applications Swarupsingh Baran Swarupsingh Baran University of North Carolina University of North Carolina Charlotte Charlotte
23

Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Mar 31, 2015

Download

Documents

Caitlyn Pitman
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Service Oriented Service Oriented Architecture for Mobile Architecture for Mobile

ApplicationsApplications

Swarupsingh BaranSwarupsingh BaranUniversity of North Carolina University of North Carolina

CharlotteCharlotte

Page 2: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

What do we have today?

►Service Oriented Architecture for Mobiles

►SAP SOA for Mobile Applications►Microsoft Dynamics CRM (SOA

Framework)►Microsoft Mobile CRM►CWR Mobile CRM

Page 3: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Service Oriented ArchitectureService Oriented Architecture

► A set of components which can be invoked, A set of components which can be invoked, and whose interface descriptions can be and whose interface descriptions can be published and discovered - W3C.published and discovered - W3C.

► The policies, practices, frameworks that The policies, practices, frameworks that enable application functionality to be enable application functionality to be provided and consumed as sets of services provided and consumed as sets of services published at a granularity relevant to the published at a granularity relevant to the service consumer. (CBDI)service consumer. (CBDI)

Page 4: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

A Service Characteristic

►Services are typically constructed in the following four tiers: Interface Business process facade Business rules Data access

Page 5: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Today’s Mobile ApplicationsToday’s Mobile Applications

►Field Service Automation Field Service Automation ►Fleet ManagementFleet Management►Asset Management and TrackingAsset Management and Tracking►Mobile CRM Mobile CRM

Page 6: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Problems Faced

►Unlike the Desktop counterparts, limited processing power as far as Mobiles are concerned.

►Limited bandwidth and connectivity.►Offline / Online connection nature of

the devices.►Insufficient data storage resources.

Page 7: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Solution – SOA for Mobile Solution – SOA for Mobile ApplicationsApplications

►Lightweight mobile SOA architecture.Lightweight mobile SOA architecture.►Allow business processes to be Allow business processes to be

executed on the mobiles.executed on the mobiles.►Service based communication Service based communication

mechanism.mechanism.►Allow disconnected access to Allow disconnected access to

Enterprise Architecture and Business Enterprise Architecture and Business Enterprise Objects.Enterprise Objects.

Page 8: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

SOA Architecture by SAPSOA Architecture by SAP►FeaturesFeatures

Lightweight and a framework which Lightweight and a framework which minimizes the data transferred to and minimizes the data transferred to and stored on the devices by using knowledge stored on the devices by using knowledge of business process and data access.of business process and data access.

Highly compressed XML format to transfer Highly compressed XML format to transfer and store data.and store data.

SOAP message compression.SOAP message compression. Pro-active loading of data from server.Pro-active loading of data from server. Asynchronous connectivity to back-end Asynchronous connectivity to back-end

system.system.

Page 9: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Business Data DeliveryBusiness Data Delivery►Business Object – An entity of Business Object – An entity of

significance to a business model which significance to a business model which acts as a service provider and also a acts as a service provider and also a service consumer.service consumer.

►Data pruning and partial copies of Data pruning and partial copies of business objects needed for mobile business objects needed for mobile clients.clients.

Page 10: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Mobile ArchitectureMobile Architecture

Page 11: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Mobile ArchitectureMobile Architecture

►FeaturesFeatures Uses RDF documents to transmit business Uses RDF documents to transmit business

objects to the client side, making it light objects to the client side, making it light weight.weight.

Pre-deployment knowledge of business Pre-deployment knowledge of business object data structure and usage along object data structure and usage along with occurrence statistics.with occurrence statistics.

On demand data exchange is performed On demand data exchange is performed for long offline periods.for long offline periods.

Page 12: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Mobile ArchitectureMobile Architecture

►FeaturesFeatures Consists of Core Services and Composite Consists of Core Services and Composite

Services.Services. Mobile client is a set of OSGi components Mobile client is a set of OSGi components

exposing their functionality as services exposing their functionality as services published in OSGi registry.published in OSGi registry.

Page 13: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Mobile ArchitectureMobile Architecture

►Security Features and ConsiderationsSecurity Features and Considerations Asymmetric key encryption scheme works Asymmetric key encryption scheme works

very slowly on mobile phones.very slowly on mobile phones. Asymmetric encryption to be used only for Asymmetric encryption to be used only for

most sensitive information.most sensitive information. Symmetric key encryption for all other Symmetric key encryption for all other

information.information.

Page 14: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Mobile ArchitectureMobile Architecture

►Pro-Active Data FeedingPro-Active Data Feeding Analyze user transaction patterns and Analyze user transaction patterns and

collect statistics to store them in user collect statistics to store them in user profiles.profiles.

Client demand forecast method for Client demand forecast method for predicting use of next business predicting use of next business objects/operations by client.objects/operations by client.

Push relevant information as much as Push relevant information as much as possible to client when the connection is possible to client when the connection is active.active.

Page 15: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Is that all?

Microsoft is never behind!!

Page 16: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Microsoft Dynamics CRM

►A Service Oriented, fully integrated customer relationship management (CRM) system.

►Marketing: A clearer view of customers and more informed marketing investments

►Sales: Get more leads and close more business

►Customer service: Provide more value to customers

Page 17: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Microsoft Dynamics CRM - Architecture

Microsoft Dynamics CRM

Page 18: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Applications?

►The true test of whether an architecture is feasible is when an application is built on it.

►However we do not have any application on this framework by SAP

►We do have Microsoft Mobile CRM!!

Page 19: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Microsoft Mobile CRM►Statistics

Completely developed in C#. Has 150K lines of code, ~40KB on Pocket PC with

.NET Compact Framework. Includes metadata-driven business logic, user

interface, and message schemas. Has 4 SQL CE databases, ~40 tables.

Transactions coordinated across databases. Schemas updated on the fly when metadata changes.

Uses Web services and asynchronous messaging built on SQL CE RDA Protocol.

Page 20: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Microsoft Mobile CRM

► Features Ability to work either in a connected or

disconnected mode. CRM Mobile is easy to use, customize, and

maintain. Offers users rich account and opportunity

management functionality Provides salespeople with up-to-date information

about their accounts and contacts, and helps them manage sales opportunities and track sales-related activities.

Page 21: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Microsoft Mobile CRM

Page 22: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

CWR Mobile CRM

►CWR a firm based out of Netherlands specializing in developing mobile solutions for business applications

►A powerful CRM application built on top of Microsoft Dynamics CRM which is a SOA and Metadata driven rich CRM framework.

►Application

Page 23: Service Oriented Architecture for Mobile Applications Swarupsingh Baran University of North Carolina Charlotte.

Questions?