Top Banner
Sun GlassFish Mobility Platform Technical Overview Hans Hrasna Sun Microsystems
27

GlassFish Mobility Platform - Hans Hrasna

May 20, 2015

Download

Technology

An overview of the GlassFish MObility Platform. Based on Java and OMA technology
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: GlassFish Mobility Platform - Hans Hrasna

Sun GlassFish� Mobility Platform Technical Overview

Hans HrasnaSun Microsystems

Page 2: GlassFish Mobility Platform - Hans Hrasna

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 ...

Page 3: GlassFish Mobility Platform - Hans Hrasna

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

Page 4: GlassFish Mobility Platform - Hans Hrasna

4

Product Features

OfflineData Caching

RemoteData Wipe

ConflictResolution

ApplicationConnectors

Encryption DeveloperToolkit

2-waySynchronization

DeviceLockout

Over-the-airProvisioning

Page 5: GlassFish Mobility Platform - Hans Hrasna

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

Page 6: GlassFish Mobility Platform - Hans Hrasna

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

Page 7: GlassFish Mobility Platform - Hans Hrasna

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

Page 8: GlassFish Mobility Platform - Hans Hrasna

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

Page 9: GlassFish Mobility Platform - Hans Hrasna

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

Page 10: GlassFish Mobility Platform - Hans Hrasna

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

Page 11: GlassFish Mobility Platform - Hans Hrasna

Slide 11

Authentication• Enterprise / Service Provider Hosted Deployment

­ User/pass authentication directly with back­end

­ 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

Page 12: GlassFish Mobility Platform - Hans Hrasna

Slide 12

Mobile Client Security• Client Application Authentication

­ syncml:auth­basic / syncml:auth­md5 over https

• Transport Layer Security via HTTPS

• On­Device Data Encryption­ Alphanumeric PIN based encryption scheme­ MD5 digest of pin used as encryption key

­ data encrypted with triple DES or AES

Page 13: GlassFish Mobility Platform - Hans Hrasna

13

Administration Console

Page 14: GlassFish Mobility Platform - Hans Hrasna

14

Administration - Connectors

Page 15: GlassFish Mobility Platform - Hans Hrasna

15

Admin - Connector Configuration

Page 16: GlassFish Mobility Platform - Hans Hrasna

16

Admin – User Configuration

Page 17: GlassFish Mobility Platform - Hans Hrasna

17

Admin – Provisioning Repository

Page 18: GlassFish Mobility Platform - Hans Hrasna

18

Provisioning Portal

Page 19: GlassFish Mobility Platform - Hans Hrasna

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)

Page 20: GlassFish Mobility Platform - Hans Hrasna

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

Page 21: GlassFish Mobility Platform - Hans Hrasna

21

Development - Maven Archetypes

Page 22: GlassFish Mobility Platform - Hans Hrasna

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];

}

Page 23: GlassFish Mobility Platform - Hans Hrasna

23

Netbeans Database Access Wizard

Page 24: GlassFish Mobility Platform - Hans Hrasna

24

Blackberry Client Development on NetBeans

Page 25: GlassFish Mobility Platform - Hans Hrasna

25

Client User Interfaces

Third Party

JavaFx

LWUIT

ODP

Page 26: GlassFish Mobility Platform - Hans Hrasna

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

Page 27: GlassFish Mobility Platform - Hans Hrasna

Thank you

27Slide 27

Hans HrasnaSun Microsystems