glassfish mobility platform - hans hrasna
DESCRIPTION
An overview of the GlassFish MObility Platform. Based on Java and OMA technologyTRANSCRIPT
Sun GlassFish� Mobility Platform Technical Overview
Hans HrasnaSun Microsystems
2
Sun GlassFishTM Mobility Platform
A platform for developing mobile applications using a combination of Java technologies and Open Mobile Alliance (OMA) industry standards.
In a nutshell ...
3
Sun GlassFishTM Mobility Platform
• Based on GlassFish, MySQL, Java CAPS
• Secure data access and synchronization to:> Enterprise Apps (Siebel, Oracle,
SAP)> Consumer Apps (Twitter,
FaceBook) > PIM (Email, Calendar, Network
Address Book)• Device and carrier agnostic• Convenient pricing
Access toAnythingAccess fromAnywhereAccess for
AnyoneAccess at
Anytime
4
Product Features
OfflineData Caching
RemoteData Wipe
ConflictResolution
ApplicationConnectors
Encryption DeveloperToolkit
2-waySynchronization
DeviceLockout
Over-the-airProvisioning
5
SGMP Key Features
•Out of the box access to over many commercial applications (Salesforce.com, SAP, Siebel, etc.)•Open Standards – OMA DS protocols, Java ME, JAX-WS, JAX-RS•Offline mode with data cached on the device•On-Line synchronization •Dynamic Data support via RESTful Web Services•Device agnostic: common interface to any device and OS
6
Mobility Platform Architecture
Client Library(Sync and WS)
Mobile App
Consumer
Content
ConnectorSync Engine
JavaCAPSAdapter
Mobile AppMobile App
Connector
Connector
EIS
EIS
Components at a glance
JavaCAPSAdapter
JavaCAPSAdapter
Java ME
Java EE
7
ECBO / JAX-RS / SOAP
Mobility Platform Architecture
Client Library
Mobile App
Enterprise orConsumerApplication
Sync DB
MCBO
MP ComponentsApplication ComponentsAPIsProtocols
MobileDevice
Connector
Sync Engine
Mobile Gateway
JCA
SyncML/HTTP(S)
JavaCAPS Adapters
Client DB FC
JerseyME
JPAJAX-RS/HTTP(S)
Application Protocol
8
Enterprise InformationSystem
GlassFish Mobility PlatformGateway
Sun Fire T2000
Sun Fire T2000
SiebelSAPetc.
Service Provider Hosted Deployment
CARRIER NETWORK
SyncML/HTTP(S)
Smart Phone
PDA
RIM Device
SyncDB
9
Service Provider Managed Deployment
Enterprise InformationSystem
CORPORATE NETWORK
GlassFish Mobility PlatformEnterprise Tier
Sun Fire T2000
Sun Fire T2000
CARRIER NETWORK
GlassFish Mobility PlatformGateway Tier
Sun Fire T2000
SyncDB
AuthDB
SyncML/HTTP(S)
SOAP/HTTP(S)
SiebelSAPetc.
Smart Phone
PDA
RIM Device
10
Enterprise InformationSystem
CORPORATE NETWORK
GlassFish Mobility PlatformGateway
Sun Fire T2000
Sun Fire T2000
SiebelSAPetc.
Enterprise Deployment
CARRIER NETWORK
SyncML/HTTP(S)
Smart Phone
PDA
RIM Device
SyncDB
Slide 11
Authentication• Enterprise / Service Provider Hosted Deployment
User/pass authentication directly with backend
No need to store passwords in Mobile Gateway
• Service Provider Managed Deployment User/pass authentication with Mobile Gateway Mobile Gateway server authenticates with Web Service
server Mobile user mapped to Enterprise user in Web Service
server Two password domains: Gateway server and Web
Service server
Slide 12
Mobile Client Security• Client Application Authentication
syncml:authbasic / syncml:authmd5 over https
• Transport Layer Security via HTTPS
• OnDevice Data Encryption Alphanumeric PIN based encryption scheme MD5 digest of pin used as encryption key
data encrypted with triple DES or AES
13
Administration Console
14
Administration - Connectors
15
Admin - Connector Configuration
16
Admin – User Configuration
17
Admin – Provisioning Repository
18
Provisioning Portal
19
Development Tools - MP Client • JavaME based client development
> NetBeans 6.5 IDE w/ Mobility Pack> Full integration with JavaME Wireless Toolkit> Choice of UI framework: (LWUIT, LCD UI, SVG, etc)> Mobile Client Business Object library> JerseyMe client
• Easy to plug-in device emulators (Nokia, BlackBerry, Sprint, etc)
20
Development Tools - MP Connector • Connector templates using Maven archetypes
> Archetype-based generation supported in multiple IDEs including Eclipse and Netbeans
• Object Type Definitions (OTDs) for various enterprise systems> Wizards included in MP plugin for Netbeans> OTDs generated from enterprise system's meta-data
21
Development - Maven Archetypes
22
JAX-RS Connector Template /**
* Returns a binary representation of a business object. The
* binary representation is part of the contract between a
* connector and a client.
*
* @param user User's name logged into the session
* @param password User's password logged into the session
* @param sessionId Sync session id generated by gateway
* @param id Business object's identifier
* @return Binary representation of business object
*/
@GET
@Produces("application/octet-stream")
public byte[] getBusinessObject(
@QueryParam("username") @DefaultValue("username") String user,
@QueryParam("password") @DefaultValue("password") String password,
@QueryParam("sessionId") @DefaultValue("") String sessionId,
@PathParam("id") String id)
{
// INSERT CODE: return object representation for client
return new byte[0];
}
23
Netbeans Database Access Wizard
24
Blackberry Client Development on NetBeans
25
Client User Interfaces
Third Party
JavaFx
LWUIT
ODP
26
For more information
1
2• Download GlassFish Mobility Platform
> http://www.sun.com/mobilityplatform> Version 1.1 now available! (http://www.sun.com/software/products/mep/
get.jsp)
3
4
• Be a Part of Community> SGMP User Forum (http://forums.sun.com/forum.jspa?forumID=930)> Sun Developer Network
• Sun Enterprise Mobility Blog> http://blogs.sun.com/mobility
• Engage with Us> Ask for a workout or assessment to determine your workforce mobility
needs
Thank you
27Slide 27
Hans HrasnaSun Microsystems