Anda di halaman 1dari 38

Java Embedded: The

Internet of Things
Kevin Lee
Java Platform Group

1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
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.

2 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Everything Connected
3B -> 50B
Devices by 2020

Mobile Traffic
5X in 3 years

3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
M2M System Evolution
Migrating from proprietary, single-function to platform-based and integrated

A radical architecture shift


1.  Transition from proprietary to
shared application frameworks
2.  End-to-end IP based connectivity
3.  Horizontal platform delivers core
“system” functionality including
security, upgrades, lifecycle and
config. mgmt, status monitoring
and data mgmt and analytics
4.  Horizontal platform enables spread
of vertical applications
5.  Analytics drives real-time value
4 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
IoT/M2M Development Challenges

5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Java-based IoT/M2M Platform
Single development platform across all Data
domains
Middleware

Data

Device DBMS

Data
Common Security

Common Development

Common Management

6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Java Embedded
Example devices powered by Oracle

Small Medium Large


•  Wireless Modules •  Routers & Switches •  Multi Function Printers
•  RFID Readers •  Storage Appliances •  ATMs
•  POS Systems
•  Parking Meters •  Network Management Systems
•  In-Flight Entertainment
•  Intelligent Power Module •  Factory Automation Systems Systems
•  Smart Meters •  Security Systems •  Electronic Voting Systems
•  Medical Imaging Systems

7 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Oracle Java Embedded Offering Today
Platform SMALL MEDIUM - LARGE
Footprint

10MB-100MB

SE-E

1MB-10MB
Java OJEC
card
ME-E
50KB-1MB Device
CPU/
ARM 7 Cortex M ARM9/11 MIPS32/Intel Atom/ARM CortexA/PPC GPU/I-O

8 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Java ME Embedded

9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Oracle Java ME Embedded
Software Stack
Tools
Runtime Environment Logging APIs XML Messaging

Access Point Security &


OEM APIs Location
APIs Trust

Device Access
AMS APIs Web Services PIM and File Java ME
APIs
SDK
Test, Emulate
IMP – NG

CLDC-HI Virtual Machine On-Device Debugging


NetBeans
IDE
Device Port

Develop,
Porting Layer Debug,
Profile

Embedded Hardware and RTOS

10 | © 2011 Oracle Corporation – Proprietary and Confidential


Java ME Embedded 3.2 Device Profile
Targeting wireless modules and small M2M

Aspect Description
ARM architecture SOCs
System Architecture incl. ARM9, ARM11, Cortex-M, -R, and –A

Device Type Resource-constrained, headless, always-on


Operating System Simple embedded kernel or more capable OS/RTOS
IP-based wired (Ethernet) or wireless (cellular or other)
Network Including multiple access points

Versatile access to peripheral I/O


Peripheral I/O Serial, file, GPS, I2C, SPI, I2C, GPIO, mem.-map

Minimum configuration (custom)


approx. 130 KB RAM/350 KB ROM
Footprint
Full, standard configuration
approx. 700 KB RAM/1500 KB ROM

11 | © 2011 Oracle Corporation – Proprietary and Confidential


ME Embedded Direction
Ensure alignment between ME/SE over the upcoming ME releases
Key Principles  
•  Java ME is the “little sibling” of Java SE.
•  CLDC is a strict subset of Java SE
•  Any Java ME app/library works on Java SE.
•  Java ME vs Java SE is a footprint/functionality tradeoff.
•  Java ME and Java SE releases are synchronized

Benefits  
•  Unified development experience & community
•  Align language, core APIs, development and management tools
•  Reuse Java ME APIs in Java SE: Bluetooth, Location, Sensors, Messaging….
•  Reuse Java SE tools and management features in Java ME
•  9+ Million developers for all of Java from Card to Enterprise
12 | © 2011 Oracle Corporation – Proprietary and Confidential
Java ME 8 Platform Architecture

Ver)cal     Core  device     Add. Optional Add. Optional


MSA JSRs
Specific   vertical APIs APIs APIs
APIs  

On-­‐Device  I/O   Device Access API Applica)on   Java ME Embedded Profile


Peripheral  Access   (aka DA API) Environment   (aka IMP 8)

Java  VM   CLDC  8  (with  Support  for  Java  Language  8)    

13 | © 2011 Oracle Corporation – Proprietary and Confidential


Java ME 8 Platform
New JSRs for small Embedded

JSRs   Descrip)on  
CLDC  8     •  New JVM Spec. aligned with JavaSE 7/8 language features

Java  ME  Embedded  Profile  8   •  Evolution of IMP and MIDP for the small embedded market.
•  Addresses MIDP 3 usability issues and feature gaps.
•  New Headless Application Management APIs

Device  Access  API     •  APIs to enable access from/to device interfaces and peripherals

14 | © 2011 Oracle Corporation – Proprietary and Confidential


Java ME 8 Platform
Compatibility with existing optional ME JSRs
•  Existing Java ME JSRs can be
implemented atop ME8 ME8  stack  for  M2M  
module
•  Optional JSRs enables fine-tuned
addressing of embedded needs
–  Address vertical requirements
•  Communication module/M2M,
smartmeter, healthcare, mobile,…
–  Meet device static and dynamic
memory budgets for Java
–  Support a variety of hardware/peripherals/
networks

15 | © 2011 Oracle Corporation – Proprietary and Confidential


Wireless Modules
A natural fit for Java ME - Embedded
•  Java adds intelligence and connectivity to
vertical solutions with small, wireless devices
Ø  Industrial automation
Ø  Healthcare applications
Ø  Security
Ø  Monitoring
•  Smart & programmable
Ø  CPU, RAM/Flash, I/O, SIM
Ø  Highly integrated, 2G/3G (voice + data), low power
Ø  Java runtime based on Java ME Embedded
Ø  Remote provisioning and management

16 | © 2011 Oracle Corporation – Proprietary and Confidential


Java SE Embedded

17 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Java SE Embedded Overview
What is Java SE Embedded?

§  Java Standard Edition implementation optimized for embedded devices


–  Reduced static footprint (60+% smaller than standard JRE)
§  42MB versus 140MB on x86 Linux Java SE 7u6
–  Reduced memory requirements (32MB headless, 64mb headful)
–  Headless and Headful configurations
–  Embedded architectures supported (ARM, PPC, x86)
–  Full Java SE compatibility
–  Available today!

18 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Java SE / CDC Embedded Convergence
Goals for JDK 8

§  Bring the critical features of ME/CDC to Java SE Embedded


§  Small Static Footprint starting at 10MB
§  Smaller dynamic footprint (16MB headless, 32MB headful)
§  New embedded specific FX graphics stack

19 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Java SE / CDC Embedded Convergence
Convergence VM features

§  Small Hotspot VM (< 3MB)


§  JIT Code cache reduction
§  Class file memory reductions
§  Hotspot improvements
–  JSR-292, Permgen removal, NMT, Compiler Control
§  ARM and PPC performance improvements
§  Improved serviceability (serviceability agent support for ARM & PPC)

20 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Java SE 8 Compact Profiles
Profiles Introduction

§  Define three new Java SE Runtimes in JDK 8


§  New Runtimes will be Java SE compatible subsets
§  Benefits
–  Provide smaller Java runtimes for resource constrained devices
§  Smaller Headless Runtime
§  Platform for FX only graphical UI stack
§  Quicker download and startup
§  Basis for Java ME / CDC Converged product
–  Similar to Foundation profile & optional packages

21 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Java SE 8 Compact Profiles
Overview

SE Embedded SE Embedded
Compact Profiles Full JRE
3 Optional Components
UI & Toolkits
Compact3 Class libraries
2 Integration Libraries
Compact2 Class libraries
Other Base Libraries
1
Base Compact1 Classes Lang & Util Base Libraries

Hotspot VM Hotspot VM

22 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Java SE 8 Compact Profiles
Approximate Static Footprint Size Targets

Compact1 Profile
10MB

Compact2 Profile 17MB

Compact3 Profile 24MB

Full JRE 140MB

23 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Java SE 8 Compact Profiles
Profile package contents Java Runtimes
Compact3 Full JRE
Compact2 java.lang.management
Compact3
javax.management
javax.naming
Compact1 java.sql
javax.sql.roweset Compact2
javax.sql
javax.security.auth.kerberos
java.lang javax.xml
org.ietf.jgss
java.io org.w3c.dom
javax.script Compact1
java.nio org.xml.sax
javax.xml.crypto
java.text java.rmi
java.util.prefs
java.math javax.rmi
javax.security.sasl
java.net javax.transaction
javax.security.acl
javax.net java.lang.instrument
java.util javax.annotation.processing
java.util.logging javax.lang.model
java.security javax.lang.model.element
javax.crypto javax.lang.model.type
javax.security javax.lang.model.util
javax.tools
24 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
JavaFX for Embedded
Next-gen UI platform for Java

Powerful set of Common graphics


100% Java APIs architecture across all
Java SE platforms

Rich graphics and Integrated contents for


animation various devices

25 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Embedded

Java Embedded Suite DB

26 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Building an end-to-end IoT Application
Components

IoT Application

Device Data Application Runtime


Gateway

Event Portal/Social/
Middleware Processing
Analytics Comms VM (Java)

Database RDBMS NoSQL Analytics Search Content Spatial

Infrastructure Storage Servers VM (OS)

27 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


What is Oracle Java Embedded Suite?
Proven platform built on Java SE Embedded Future Enhancements

Glassfish Java DB
•  Extends the success and versatility of the Embedded Database
Java Embedded platforms to by pre-
integrating additional capabilities needed in Web Services
today’s intelligent devices Servlet 3.0 Container
Web Server
•  Devices built on Java Embedded Suite
provides flexibility to ensure your solutions
Security
continue to meet your needs into the future

Java Embedded
Management
GUI Libraries
Networking & I/O
Java Virtual Machine

28 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Oracle Java Embedded Suite: Application Runtime

Your applications

Trusted Application Platform


Common
Developer
Portability Dev
Glassfish Ecosystem
Java DB platform
Embedded
Software Standards-
Updatability Security
Java SE Embedded based

OS & Hardware Proven Off-the-shelf Trusted


components vendor

29 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Oracle Java Embedded Suite: Collect & Consolidate

Your applications

Java DB Glassfish
(SQL) Embedded
Data
Producers
Java SE Embedded

OS & Hardware

30 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Oracle Java Embedded Suite: Analyze & Share

Your applications CRM


Services &
Glassfish Management
Java DB (Servlet, Web & GIS
RESTFul)
Data ERP Demand Response
Java SE Embedded Consumers
Custom Apps
Analytics
& Business
OS & Hardware BI Intelligence

31 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Key Use Cases

Industrial Connected Smart Automotive &


Healthcare Transportation
Automation Devices Energy

• Embedded Server and • Multi-function Printers


Appliances • Imaging systems
• Gateways • M2M Device Cloud Hub
• Concentrators
• Diagnostic systems

32 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Oracle Java Embedded Suite
Integral part of E2E Connected Solution
Intelligent System Application

Delivery of Applications and Dashboards through a Portal, with support


for

on remote devices. specific

Base Stations
Java Card Switches
Management
Java Embedded Billing
XML, Security, Web Services,
File i/o, Messaging, Location, Suite Provisioning
Data Encryption, user and device identity provisioning as well as access Transportation

Java ME /SE
Integrated storage, networking and processing, in HA configuration, etc
Embedded supporting control.

Concentrator or Intelligent Systems Supporting


Sensing Device Network Cloud
Gateway Foundation Applications

33 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Roadmap
Embedded Java
Java SE Embedded 8 Java Embedded 9
•  Complete JVM convergence •  JDK9
•  Additional compact profiles •  Modularity based on Jigsaw
•  JavaFX for Embedded
•  Additional Embedded
Java Embedded Suite 7 NetBeans IDE 7.2 Java Embedded Suite 8 device APIs
•  SE Embedded 7 •  ME Embedded support •  Additional enterprise middleware •  Ease of Development
integrations
•  GlassFish for Embedded
•  Flight Recorder/Mission Control
•  Java DB

2012 2013 2014 2015

Java ME Embedded 3.2 Java ME Embedded 3.3 Java ME Embedded 8 NetBeans IDE 9
•  Microcontroller support •  Enhanced device access •  Java ME 8 •  Java ME/SE 9
•  Device Access APIs •  Footprint optimization & •  Standardized Embedded API Embedded support
configuration tools •  New on-device debugging •  Jigsaw support
Java ME SDK 3.2 architecture
•  Improved developer
•  Embedded emulator NetBeans IDE 8
tooling & experience
•  Eclipse integration •  Java ME/SE 8 Embedded
support

34 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Summary: Oracle for Internet of Things

Complete Stack Complete Customer Choice

§  Oracle Java on Devices §  On-Premise


& in Data Center §  Private Cloud
§  Best-of-Breed Solutions §  Public Cloud
§  Open Standards §  Hybrid
§  Vertical Integration
§  Extreme Performance
§  Engineered Systems

35 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


More Information

“Java Embedded Suite” http://www.oracle.com/technetwork/java/


embedded/resources/java-embedded-
suite/index.html

“Java Embedded” http://www.oracle.com/goto/javaembedded

”Java for Developers” http://www.oracle.com/technetwork/java/


index.htm

36 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
Your feedback is important!

oracle.com/oracleCAP

37 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13
38 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13

Anda mungkin juga menyukai