Java Embedded у вас дома
-
Upload
diana-dymolazova -
Category
Technology
-
view
98 -
download
1
description
Transcript of Java Embedded у вас дома
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 2
Java Embedded у вас дома
Александр Белокрылов @gigabel
Александр Мироненко
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 5
Автоматизация производства
Source: Rockwell Automation
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 6
Телеметрия
Source: http://www.flickr.com/photos/9979792@N04/2984873350/
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 7
Вендинг машины
Source: http://www.flickr.com/photos/61360523@N04/7183848790/
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 8
Удаленный контроль пациентов
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 9
Умный дом
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 10
Растет количество устройств Объем данных растет, как следствие
1990
Единицы подключены к сети
2010
12 миллиардов устройств
подключены к Internet
2025
1 триллион Internet-
connected
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 11
Решение = Java!
IoT
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 12
А почему Java?
Price
Java
Speed
Quality
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 13
...а мне какая польза?
Tooling+
CrossPlatform+
Security
Connectivity
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 14
Java Embedded
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 15
Java Embedded
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 16
Java Embedded
Java SE
Embedded
•32Mb RAM
•45Mb ROM
Java ME
Embedded
•192Kb RAM
•1Mb ROM
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 17
Готовое решение Java ME 3.3 – 3.4
Друзья Java ME Embedded
=
Java и малиновый десерт Raspberry Pi
http://elinux.org/File:Raspi-Model-AB-Mono-2-699x1024.png
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 20
А это не перебор?
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 21
Возможно, только очень дешевый
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 22
GPIO access
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 23
23
http://www.raspberrypi-spy.co.uk/wp-content/uploads/2012/09/Raspberry-Pi-GPIO-Layout-Revision-2.png
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 25
Демо
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 28
Java ME Embedded 8 - революция
Assertion
Generics
For-each loop
Autoboxing
Enum
Varargs
Static import
Try with resources
и так далее ...
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 29
Subset
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 30
Жертвы революции
No reflection
No serialization
No InvokeDynamic/Lambda expressions
No JNI and application native code
No User-defined class loaders
No concurrency utilities
Limited Math APIs (No BigDecimals)
Limited security APIs
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 31
Footprint Features
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 32
Худеем вместе 10Mb
192Kb
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 33
Java ME 8 Platform
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 34
Здорово! И что ЭТО работает?
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 35
А, давайте посмотрим?
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 36
UART
I2C
Relay GPIO
GSM/GPRS modem
Thermo sensor
"Валера"
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 37
Отправь CMC на короткий номер и узнаешь что будет
пошли текст «On» на номер +7 (921) XXXXXXX
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 38
"Бамбук"
Java SE 8 + JavaFX
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 39
Demo
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 40
Случай из жизни.
I2C
HDMI
Java ME Embedded 3.3
Java SE 8 + JavaFX
ds1621
GPIO
UART
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 42
The preceding 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.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 43
Q/A
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 44
Useful Links
Oracle Java ME Embedded
– http://www.oracle.com/technetwork/java/embedded/overview/javame/index.
html
Java ME SDK
– http://www.oracle.com/technetwork/java/javame/javamobile/overview/getst
arted/index.html
Qualcomm IoE Development Platform
– https://developer.qualcomm.com/mobile-development/development-
devices-boards/development-boards/internet-of-everything-development-
platform
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 45
Как нас найти?
Александр Белокрылов, Programs and community manager @ Oracle
– @gigabel
Александр Мироненко, Java ME Embedded developer @ Oracle
Chalkboard Electronics Touchscreen
10" or 7" Form Factor
Connects via HDMI/USB
Tested with JavaFX 8
10% Exclusive Discount:
G1F0U796Z083