the java mobile and embedded platform: now and the future · •progressive download •ui layer...
TRANSCRIPT
![Page 1: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/1.jpg)
1 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
The Java Mobile and Embedded Platform: Now and
the Future
![Page 2: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/2.jpg)
2 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
http://www.javaspotlight.org
@javaspotlight
Java Spotlight Podcast
![Page 3: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/3.jpg)
3 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
The following is intended to outline our general product
direction. It is intended for information purposes only, and
may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality,
and should not be relied upon in making purchasing
decisions. The development, release, and timing of any
features or functionality described for Oracle’s products
remains at the sole discretion of Oracle.
![Page 4: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/4.jpg)
4 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
Embedded / TV Mobile Card
Java Card
Java TV MSA
Java Language
Java SE (CDC) Java ME (CLDC)
Key APIs
Platform
Language
Java Mobile & Embedded Product Family
![Page 5: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/5.jpg)
5 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
Java Mobile and Embedded in 2011
• NFC payments, e-passport
• M2M and embedded security
• 3 billion phones, 125 million TV’s running Java
• Web integration, new UI technologies
• Embedded apps connected to the Enterprise
• New TV apps e.g. Media/web servers streaming
![Page 6: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/6.jpg)
6 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
New Releases in 2011
Oracle Java Wireless Client 3.1
Oracle Java Services Bridge
Oracle Java
Embedded Client
1.x JSR 172 1.1
Oracle Java Wireless Client 3.0
LWUIT 1.5
Java ME SDK 3.0.5
JSR 229 1.1
JSR 253
Java SE Embedded 7
Java Card Development Kit 3.0.4
![Page 7: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/7.jpg)
7 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
Oracle Java Wireless Client (OJWC)
• Over 250 handset references, >100M
devices shipped
• Latest Java ME platform evolutions
• Rich UIs for all device types
• Complete tool chain for rapid app
deployment
• Wide device platform support
![Page 8: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/8.jpg)
8 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
Oracle Java Wireless Client 3.0
• Features
– Web UI (JSR 290)
– LWUIT optimizations
– IMS, Telephony
– Java/Javascript bridge
– Oracle Developer APIs
– SIM – based customization
– High-perf., multi-tasking VM
• Optional Components
– Integrated Web Runtime
Modern Java Feature Phone Runtime
![Page 9: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/9.jpg)
9 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
OJWC 3.0 : Driving new use cases
![Page 10: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/10.jpg)
10 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
• Value-added services distribution in
Oracle runtimes
• Monetization options for developers
• Smart content on mass market devices
leveraging the carrier infrastructure
Mobile Services Integration
Payment, Store Client, Advertizing, Carrier API
CLDC + MIDP
Java ME JSRs
Java ME Apps
Oracle Java Wireless Client
Service Engines
Oracle Mobile Dev. APIs
Carrier Apps
![Page 11: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/11.jpg)
11 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
Oracle Mobile Developer APIs
11
Multimedia
•Low level media control. •Prop Codec integration •DRM Integration •Progressive download •UI Layer support
Navigation / LBS
•Location retrieval mechanisms (CellID) •Invocation from native apps •Expose LBS APIs to other apps.
Messaging / SNS
•Background execution •Auto start •Adv. phonebook access •Native inbox access •Showing notifications •User accounts Mgmt.
AMS / System
•More system properties •Advanced Security •Interoperability with other service •Network bearer API •Push Notification
Browser
•Handling “non-browser” content •DRM Integration •Invocation from native apps •RTSP support within browser •Vector font
Shopping / ecommerce
•Headless installation •DRM Support •Idle screen execution •24/7 •Invocation of native apps.
![Page 12: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/12.jpg)
12 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
Operator Network APIs on Java ME
Architecture Approach
Java ME Platform (CLDC/MIDP)
Extended HTTP Connection
REST
OAuth 1&2 JSON Parser Basic
Blocks
Operator Network APIs Implementation
GSMA OneAPI
WAC Operator
Proprietary API
Specific …..
public class ABCOperatorAPI {
public ABCOperatorAPI
(Hashtable serverProperties);
…
public ChargeResponse
charge(ChargeRequest
params);
public LocationInfo
getLocation(int accuracy);
…
}
Sample Code
![Page 13: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/13.jpg)
13 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
Lightweight UI Toolkit (LWUIT)
• Create rich User Interfaces easily for Java Apps
• Lightweight and Flexible
• Strong developer adoption
• Integrated in Java ME SDK 3.0.5
• Active and vibrant Open Source community
![Page 14: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/14.jpg)
14 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
LWUIT Key Feature
• Rapid development
– Swing-like MVC
– Clean & simple API
• Consistent & flexible
– Portable, extendable
• Pluggable Look & Feel
– Brand-able/theme-able
• Touch screen support
• Rich widgets
• 3D, SVG Integration
• I18N/L10N, bi-di text
• Tested on broad range of devices
![Page 15: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/15.jpg)
15 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
LWUIT: Sample Code
HTMLComponent htmlC = new HTMLComponent(new HttpRequestHandler());
Form form = new Form();
form.addComonent(htmlC);
form.show();
htmlC.setPage(http://wap.cclol.com/thedailyshow.rbml);
![Page 16: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/16.jpg)
16 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
Java + Web Architecture Overview
• WAC 2.0 runtime on top of
Java ME runtime
• JavaScript extensions
• Multiple application
models
• Integrated application
management system
(AMS)
• High portability
![Page 17: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/17.jpg)
17 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
FluidImage fI = FluidManager.createImage(“file:///index.html”, …);
FluidPlayer fP =
FluidManager.createPlayer(fI,”javax.microedition.lcdui.Canvas);
FluidComponent fC = (FluidComponent)fluidPlayer.getTargetComponent();
fI.setViewportWidth(WIDTH);
fI.setViewportHeight(HEIGHT);
fluidPlayer.play()
Display.getDisplay(this)setCurrent((Canvas)fC);
JSR 290 Sample Code
![Page 18: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/18.jpg)
18 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
function startMusic() {
Widget = new bridge.JavaPackages.com.sun.j2me.jil.Widget.Widget();
AudioPlayer = Widget.Multimedia.AudioPlayer;
var fileUrl = "http://localhost/music.mp3";
AudioPlayer.open(fileUrl);
AudioPlayer.play(1);
}
function loadBirthdays() {
var PIM = bridge.JavaPackages.javax.microedition.pim.PIM;
var Contact = bridge.JavaPackages.javax.microedition.pim.Contact;
var result = new Array();
var items = PIM.getInstance().openPIMList(PIM.CONTACT_LIST,
PIM.READ_ONLY) .items();
while (items.hasMoreElements()) {
var item = items.nextElement();
if (item.countValues(Contact.BIRTHDAY) > 0) {
var name = item.getString(Contact.FORMATTED_NAME, 0);
var birthday = item.getDate(Contact.BIRTHDAY, 0);
result.push(new Record(name, birthday));
}
}
return result;
}
Music
Player
PIM
JavaME + Web: Sample Code
![Page 19: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/19.jpg)
19 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
Java ME SDK 3.0.5
• Oracle Mobile Developer APIs aligned with OJWC 3.0
• Support for new Java ME JSRs
– JSR 257 (NFC), 258 (Custom UI), 293 (location 2.0), 253 (Telephony), 281 (IMS),
290 (Web UI)
• New Features
– New skins & graphics enhancements
– Network monitoring, on-device profiling support
– Updated Device database (WURFL)
– Update Center Functionality
• Release H2 2011 on Win XP / Vista / 7
![Page 20: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/20.jpg)
21 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
Design Objectives
• Bridge the Java SE / Java ME divide
– Synchronized CLDC and JDK releases
– Convergence of CDC and Embedded Java
• Full coverage of embedded vertical markets
– Java Platform covering all CPU/Footprint variants
– Dedicated APIs for vertical market segments
• Deep integration of content services
– Services embedded into Oracle runtimes and tools
– Developer/consumer access to carrier services
Java ME – Moving Forward
![Page 21: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/21.jpg)
22 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
Java ME 7/8
• Java ME alignment with JDK
– Synchronized releases
– Latest Java language support
– Java ME APIs can run on Java SE
– Consistent tool interfaces
• New APIs for mobile phones and
billions of connected devices
CDC/Java SE 8 convergence
• “CDC Profile” in JDK 8
– Porting CVM features to Hotspot JVM
– JDK 8 libraries with smaller and faster
variants/subsets
• JavaFX as graphics framework
• Best features and performance
from CDC and SE for Embedded
Bridging the Java SE/ME divide
![Page 22: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/22.jpg)
23 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
Small Embedded
Mid Embedded
High Embedded
Platform
Footprint
Device
CPU/
GPU/I-O ARM 7 Cortex M ARM9/11 MIPS32/Intel Atom/ARM CortexA/PPC
50KB-1MB
1MB-10MB
10MB-100MB
Java technology for Embedded Device - 2011
CLDC Java Card
CDC
SE-E
![Page 23: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/23.jpg)
24 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
Small Embedded
Embedded
Platform
Footprint
Device
CPU/
GPU/I-O ARM 7 Cortex M ARM9/11 MIPS32/Intel Atom/ARM CortexA/PPC
50KB-1MB
1MB-10MB
10MB-100MB
Java technology for Embedded Device - 2013
Java ME
Java SE
Java
Card
![Page 24: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/24.jpg)
25 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8
Java ME/Embedded Roadmap Milestones
2011 2012 2013
Mobile Services • Payment
• Store
• Carrier apps
Download developer tools today:
• Java ME SDK 3.0.5
• LWUIT 1.5
OJWC 3.1
Java SE 7 alignment •CLDC 7
•New APIs for Embedded and
Mobile
Java ME 7
CDC/Java SE
convergence
Java SE
Embedded 8
Java ME 8
![Page 25: The Java Mobile and Embedded Platform: Now and the Future · •Progressive download •UI Layer support Navigation / LBS •Location retrieval mechanisms (CellID) •Invocation from](https://reader033.vdocument.in/reader033/viewer/2022042219/5ec577d2342d7c604e107aa3/html5/thumbnails/25.jpg)
26 Copyright © 2011, Oracle and/or its affiliates. All rights
reserved.
Insert Information Protection Policy Classification from Slide 8