Enabling the Mobile Web with JavaME Nandini Ramani Co-Chair W3C SVG - - PowerPoint PPT Presentation

enabling the mobile web with javame
SMART_READER_LITE
LIVE PREVIEW

Enabling the Mobile Web with JavaME Nandini Ramani Co-Chair W3C SVG - - PowerPoint PPT Presentation

Enabling the Mobile Web with JavaME Nandini Ramani Co-Chair W3C SVG WG Senior Staff Engineer Sun Microsystems, Inc. Akhil Arora Senior Staff Engineer Sun Microsystems, Inc. Agenda Web 2.0 Web Services Rich UI Demos


slide-1
SLIDE 1

Enabling the Mobile Web with JavaME

Nandini Ramani

Co-Chair W3C SVG WG Senior Staff Engineer Sun Microsystems, Inc.

Akhil Arora

Senior Staff Engineer Sun Microsystems, Inc.

slide-2
SLIDE 2

Sun Microsystems 2006

2

Agenda

  • Web 2.0
  • Web Services
  • Rich UI
  • Demos
  • Questions
slide-3
SLIDE 3

Sun Microsystems 2006

3

Age of Participation

Google Maps Flickr Albums Salesforce

Community & Interaction

slide-4
SLIDE 4

Sun Microsystems 2006

4

Mobile Drives the Next Wave

Content Management Entertainment Gaming

Communications

Information Sharing

slide-5
SLIDE 5

Sun Microsystems 2006

5

Your Personal Dashboard

slide-6
SLIDE 6

Sun Microsystems 2006

6

Web Services

slide-7
SLIDE 7

Sun Microsystems 2006

7

What are Web Services?

  • www for machines

> designed for machine-to-machine interactions over a network > Heterogeneity is a given > networking, not presentation

  • two styles

> REST > Yahoo, Google, Amazon, Microsoft Live, Most Web 2.0 > SOAP > eBay, B2B applications

slide-8
SLIDE 8

Sun Microsystems 2006

8

Why Mobile Web Services?

  • Compelling Web Services drive ARPU via data
  • Java tools exist to make it easy for developers to build web

applications and mashups in Java

  • Mobile AJAX in browser has limitations

> substantial JavaScript download > application source code (JavaScript) visible > network availability/latency makes user experience spotty > cannot use camera, 3D, bluetooth, local calendar & addrbook, etc

slide-9
SLIDE 9

Sun Microsystems 2006

9

Java - Powerful Enabling Technology

  • Java Platform

>Ubiquity: Java is on 1.2 Billion Phones >Superior code development tool chain >Broadest access to phone features >Robust, secure, high performance environment >Portability

  • Based on Open standards

>JCP and W3C >Leverages popular Web model (XML, DOM) >Rich user experience with SVG/CDF

  • Leverage multiple developer communities: graphic artists and

Java developers

* SVG = Scalable Vector Graphics, a W3C specification * CDF = Compound Document Format, a W3C specification

slide-10
SLIDE 10

Sun Microsystems 2006

10

Some Use Cases for Mobile Web Services

  • Mobile Feeds

> catching up with blogs offline > liveblogging, lifeblogging > syndication of calendar, traffic, jobs, weather...

  • Mobile Web 2.0

> maps, traffic, directions, location... > shopping, pricing, reviews, yellowpages... > audio, video, photos, tagging, social networking... > travel, finance... > verticals > mashups

slide-11
SLIDE 11

Sun Microsystems 2006

11

Demos (1/2)

  • Feed Reader
  • Local Search using Yahoo!'s Local and Map Web Services
slide-12
SLIDE 12

Sun Microsystems 2006

12

Presentation

slide-13
SLIDE 13

Sun Microsystems 2006

13

Opening the Phone to the Developer

New Java Standards defining next-gen wireless platform Mobile Services Architecture (MSA) Enables the development of services based on previously closed device capabilities SMS / MMS Location PIM 3D Graphics Bluetooth 2D Graphics Media SIP

slide-14
SLIDE 14

Sun Microsystems 2006

14

JSR-226 Overview

  • Java API to draw, manipulate and animate SVG

Tiny 1.1 content

  • Part of Mobile Service Architecture (JSR-248), both

the core subset and the full version

  • Rich UI through SVG
  • Complex behavior through Java
  • DOM API connects SVG and Java
  • Enables significantly richer UI than LCDUI alone
slide-15
SLIDE 15

Sun Microsystems 2006

15

JSR 226 Application Model

svg image g text rect circ

Document Object Model

Java Application

<svg width="2cm" height="3cm" viewBox="0 0 200 300"> <g> <rect x="10" y="10" width="180" height="280" fill="none" stroke="black"/> <circle cx="100" cy="150" r="100" fill="rgb(255,209,31)"/> </g> <image xlink:href="duke.svg" x="40" y="40" width="120" height="220" /> <text x="100" y="280" font-size="30" text-anchor="middle"> Hello SVG! </text> </svg>

SVG Document Rendering & interactivity

load render manipulate UI events

slide-16
SLIDE 16

Sun Microsystems 2006

16

JSR 290 and CDF

  • Java Language and XML UI Markup Integration

>Leverage W3C CDF (WICD MP) >Integration with Web technologies

– XHTML Basic 1.1 – ECMAScript CP – CSS 2.1 Mobile – SVG Tiny 1.2

>Binding between markup and Java code >Connection between ECMAScript and Java

* ESMP = ECMA Script Compact Profile, a subsetted version of ECMA Script used in Mobile phone * CSS Basic = Cascading Style Sheets, a popular styling language helping separate the content of XHTML pages from their appearance

slide-17
SLIDE 17

Sun Microsystems 2006

17

Unleash Your Creativity

Create Integrate Deploy

XML application

DEVELOPMENT & AUTHORING TARGET DEVICE

Integration Tool MIDlet XML UI API Java VM

XML Engine

Markup Java Code

slide-18
SLIDE 18

Sun Microsystems 2006

18

Demos (2/2)

  • Contact List demo
  • Location based service
  • Tools
slide-19
SLIDE 19

Sun Microsystems 2006

19

We've Done it Before... ...And We're Doing it Again

slide-20
SLIDE 20

Sun Microsystems 2006

20

What's Next: Open Sourcing Java

Java ME & Java SE

slide-21
SLIDE 21

Sun Microsystems 2006

21

References

  • JCP: http://jcp.org/en/home/index
  • SVG: http://www.w3.org/Graphics/SVG/
  • CDF: http://www.w3.org/2004/CDF/
  • NetBeans: http://www.netbeans.org/
  • Wireless Toolkit:

http://java.sun.com/products/sjwtoolkit/

  • Community: http://www.java.net
slide-22
SLIDE 22

Sun Microsystems 2006

22

Discussion Topics

  • Reduce Fragmentation

> Conformance test suites

  • Collaboration between standards bodies

> W3C, JCP

slide-23
SLIDE 23

Thank You!

Nandini Ramani

nandini.ramani@sun.com

Akhil Arora

akhil@sun.com