• Teilen
  • E-Mail
  • Einbetten
  • Gefällt mir
  • Speichern
  • Privater Inhalt
Standards for the Future of Java Embedded (16:9)
 

Standards for the Future of Java Embedded (16:9)

on

  • 2,222 Views

 

Statistiken

Views

Gesamtviews
2,222
Views auf SlideShare
586
Views einbetten
1,636

Actions

Gefällt mir
1
Downloads
0
Kommentare
0

3 Einbettungen 1,636

http://www.eclipse.org 1567
http://eclipse.org 67
http://dev.eclipse.org 2

Zugänglichkeit

Kategorien

Details hochladen

Uploaded via as Microsoft PowerPoint

Benutzerrechte

© Alle Rechte vorbehalten

Report content

Als unangemessen gemeldet Als unangemessen melden
Als unangemessen melden

Wählen Sie Ihren Grund, warum Sie diese Präsentation als unangemessen melden.

Löschen
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Ihre Nachricht erscheint hier
    Processing...
Kommentar posten
Kommentar bearbeiten
  • Enabling new access to and uses of data

Standards for the Future of Java Embedded (16:9) Standards for the Future of Java Embedded (16:9) Presentation Transcript

  • Standards for the Futureof Java EmbeddedWERNER KEILJavaOne Russia 2013Moscow24th April 2013
  • IN MEMORIAMDipl.-Ing. Erwin Keil13th October 1938 – 26th December 20122 © 2007-2013 Creative Arts & Technologies
  • Agenda• Introduction• Sensors• Historic IT Errors and Bugs• UOMo, Unit-API, UCUM• Sensor Web, SensorML• M2M• NFC• Use Cases• Security• JavaCard• Q&A3 © 2007-2013 Creative Arts & Technologies
  • Bio4 © 2007-2013 Creative Arts & TechnologiesWerner Keil• Consultant – Coach• Creative Cosmopolitan• Open Source Evangelist• Software Architect• Java Godfather• JCP Executive Committee Member• Eclipse UOMo Project Lead• JSR 354 EG Member• …Twitter @wernerkeil
  • Java Godfather?5 © 2007-2012 Creative Arts & Technologies
  • Type-Safety•Java does not have strongly typed primitive types(like e.g. Ada or Smalltalk).• This is likely to change around Java 9 or 10(based on Oracle Road Map and statements)•For performance reasons most developer preferprimitive types over objects in their interface.•Primitives type arguments can more easily lead toname clashes (methods with the same signature)6 © 2007-2012 Creative Arts & Technologies
  • What do these disasters have in common?•Patriot MissileThe cause was an inaccurate calculation of the time since boot due to acomputer arithmetic error.•Ariane 5 ExplosionFloating point number which a value was converted from had a value greaterthan what would be represented by a 16 bit signed integer.• Gimli Glider (near disaster)Fuel loading was miscalculated through misunderstanding of the recently adopted MetricSystem, replacing the Imperial System• Mars OrbiterPreliminary findings indicate that one team used US/English units (e.g. inches, feet andpounds) while the other used metric units for a key spacecraft operation.7 © 2007-2013 Creative Arts & Technologies
  • What do these disasters have in common?8 © 2007-2012 Creative Arts & Technologies
  • 23rd March 1983. Ronald Reaganannounces SDI (or “Star Wars”):ground-based and space-basedsystems to protect the US from attackby strategic nuclear ballistic missiles.NASA “Star Wars” Initiative, 19839 © 2007-2012 Creative Arts & Technologies
  • 1985: The PlanMirror on undersideof shuttleSDI Experiment:The PlanBig mountain in Hawaii10 © 2007-2012 Creative Arts & Technologies
  • 1985: What really happenedSDI Experiment:What reallyhappened11 © 2007-2012 Creative Arts & Technologies
  • 12 © 2007-2012 Creative Arts & Technologies1985: Why it happened?
  • Unit Tests wouldn„t find these…• All previous example illustrate three categories of errorsdifficult to find through Unit Testing:• Interface Errors (e.g. millisecond/second, radian/degree, meters/feet).• Arithmetic Errors (e.g. overflow).• Conversion Errors.Despite their name13 © 2007-2012 Creative Arts & Technologies
  • Causes of Conversion Errors• Ambiguity on the unit• Gallon Dry / Gallon Liquid• Gallon US / Gallon UK• Day Sidereal / Day Calendar• Degree Celsius / Degree Fahrenheit• Did you know that Gabriel Fahrenheit was born in Gdansk (Danzig) in northern Poland?• Wrong conversion factors:static final double PIXEL_TO_INCH = 1 / 72;double pixels = inches * PIXEL_TO_INCH14 © 2007-2012 Creative Arts & Technologies
  • ALL OF THEM HAPPENED INMOBILE, REAL TIME OREMBEDDED SYSTEMS!What else do they have in common?15 © 2007-2012 Creative Arts & Technologies
  • Measurement Package• Namespace: org.osgi.util.measurement• SI only Unit API “in the closet”• UnitEssentially an SI singleton holding relevant unit constants, too.• MeasurementRepresents a value with an error, a unit and a time-stamp.• StateGroups a state name, value and timestamp.• Some usage, especially in Automotive► no further development by OSGiOSGi16 © 2007-2011 Creative Arts & Technologies
  • Mobile Sensor API• Namespace: javax.microediton.sensor*• Focusing on Sensors, but it got a minimalistic Unit API “in the closet”• UnitEssentially an SI singleton holding relevant unit constants, too.• ChannelInfoHolding name, accuracy, data type,measurement ranges, scale and unit• MeasurementRangeRange of possible values from minimum to maximum► Dead on Arrival (no actual handsets or vendorsusing it today)JSR-25617 © 2007-2011 Creative Arts & Technologies
  • Base Classes and Packages• Namespace: javax.measure.*• Only one interface and one abstract class• Measurable<Q extends Quantity> (interface)• Measure<V, Q extends Quantity> (abstract class)• Three sub-packages• unit (holds the SI and NonSI units)• quantity (holds dimensions mass, length)• converter (holds unit converters)JSR-27518 © 2007-2011 Creative Arts & Technologies
  • Units of Measurement API• Namespace: org.unitsofmeasurement.*• Only interfaces (and exception classes)• public interface Quantity<Q extends Quantity<Q>>• public interface Unit<Q extends Quantity<Q>>• Three sub-packages• quantity (holds dimensions mass, length,…)• unit (holds units)• service (OSGi services)The King is Dead…19 © 2007-2012 Creative Arts & Technologies
  • Eclipse UOMoOne Small Step…
  • One Unit Framework to Measure them All• Namespace: org.eclipse.uomo.*• Two main areas• Static Type Safe Units of Measure Support• Based on Units of Measurement API• On top of ICU4J, the Globalization standard at Eclipse and others(Android, GWT, Google Financial, etc.)• Prime UCUM Implementation• Successor to Eclipse OHF UCUM BundleEclipse UOMo21 © 2007-2012 Creative Arts & Technologies
  • Unified Code for Units of MeasureThe Unified Code for Units of Measure is inspired byand heavily based on• ISO 2955-1983• ANSI X3.50-1986• HL7s extensions called ISO+UOMo UCUM22 © 2007-2012 Creative Arts & Technologies
  • Slide by NASASensor Web
  • “A coordinated observation infrastructure composed of a distributed collection of resourcesthat can collectively behave as a single, autonomous, task-able, dynamically adaptive andreconfigurable observing system that provides raw and processed data, along withassociated meta-data, via a set of standards-based service-oriented interfaces.” (Glenn,2007)24 © 2007-2012 Creative Arts & TechnologiesSensor Web | What is it?
  • OGC O&M Observations & Measurements ApprovedSensorML Sensor Model Language ApprovedTransducerML Transducer Model Language ApprovedOGC SOS Sensor Observations Service ApprovedOGC SPS Sensor Planning Service ApprovedOGC SAS Sensor Alert Service In progressOGC WNS Web Notification Services In progressSensor Web | OpenGIS Standards• SW Enablement working group at OGC havedeveloped a number of standards governing differentaspects of Sensor Web25 © 2007-2012 Creative Arts & Technologies
  • Sensor Web | What is the OGC?• Not-for-profit• International industry consortium• Founded 1994, currently 340+ members• Open Standards development by consensus processOGC MissionTo lead in the development, promotion andharmonization of open spatial standards …26 © 2007-2012 Creative Arts & Technologies
  • Sensor Web | Mozambique floods•The task under study is floods in differentparts of the world•Particular test case was flooding of Mozambique27 © 2007-2012 Creative Arts & Technologies
  • Sensor Web | Weather PredictionEUMetCastReceiving facilityEUMetCastEARS-AVHRREARS-ATOVSInternetMSGNOMADS LAADSData assimilationsubsystemNOMADSadapterLAADSadapterMODISGFSAccess nodeComputationalclustersGrid of SRIof NASU-NSAUVisualization subsystemUMNMapServerInternetOpenLayersMeteorologysubsystemWRFSI WRFProcessing subsystemSeaDASP, U10, V10Users ofmonitoring system28 © 2007-2012 Creative Arts & Technologies
  • PetrSU Cooperation with Nokia Research Centre• Since 2006• The main directions of the joint activity are software development for mobiledevices, Open Source Software training, as well as scientific research andhardware and software development for wireless sensors networks.• In 2008 the Centre of Mobile and Wireless Technologies and Applications wasfounded in PetrSU under the auspices of Nokia. At present its staff consists of8 members and 10 students of PetrSU.All above mentioned activities (concerning production cooperation) arecoordinated by the IT-Park of PetrSU with the staff more than 300employees of 20 subdivisions. IТ-Park of PetrSU continues its active searchfor new partners and customers among companies, industrial enterprises,and other Finnish organizations.29 © 2010 Anastasia Kuznetsova , Natalia Kravchenkova , University of Applied Sciences, Vaasa, FinlandSensor Web | Russian Collaboration
  • SensorML• Sensor modeling language is the cornerstone of all SWservices• It provides comprehensive description of sensorparameters and capabilities• It can be used for describing different kind of sensors:– Stationary or dynamic– Remote or in-situ– Physical measurements or simulations30 © 2007-2012 Creative Arts & Technologies
  • SensorML | Example..............<inputs><InputList><input name="ambiantTemperature"><swe:Quantity definition="urn:ogc:def:phenomenon:temperature"/></input><input name="atmosphericPressure"><swe:Quantity definition="urn:ogc:def:phenomenon:pressure"/></input><input name="windSpeed"><swe:Quantity definition="urn:ogc:def:phenomenon:windSpeed"/></input></InputList></inputs>...........................<outputs><OutputList><output name="weatherMeasurements"><swe:DataGroup><swe:component name="time"><swe:Timedefinition="urn:ogc:def:phenomenon:time“uom="urn:ogc:def:unit:iso8601"/></swe:component><swe:component name="temperature"><swe:Quantitydefinition="urn:ogc:def:phenomenon:temperatureuom="urn:ogc:def:unit:celsius"/></swe:component><swe:component name="barometricPressure"><swe:Quantitydefinition="urn:ogc:def:phenomenon:pressure“uom="urn:ogc:def:unit:bar" scale="1e-3"/></swe:component><swe:component name="windSpeed"><swe:Quantitydefinition="urn:ogc:def:phenomenon:windSpeed“uom="urn:ogc:def:unit:meterPerSecond"/></swe:component></swe:DataGroup></output></OutputList></outputs>.............31 © 2007-2012 Creative Arts & Technologies
  • Demo32 © 2007-2013 Creative Arts & Technologies
  • Estimated Number of ActiveCellular M2M Connected Devices2010 to 2020Source: Machina Research, July 20111. New connected devices,applications and services2. Lower system costs3. Simplified development4. Network operator focus andinvestmentM2M | Outlook33 © 2007-2012 Creative Arts & TechnologiesKey Trends
  • Transportation & Logistics LogisticsMedical &HealthcareIndustrial &EnergyCommunicationInfrastructureSecurity & SurveillancePublic/Private Cloud Deployment InfrastructuresInternetof ThingsM2M | Integrated Processes34 © 2007-2012 Creative Arts & Technologies, Eclipse Foundation
  • Medical Services GatewayCommunicationInfrastructureSmartPillBoxesHeartbeatSensorWeightScalesBloodPressureMedicalSmartServicesGatewayNear fieldBloodSugarInternetof Things35 © 2007-2012 Creative Arts & Technologies, Eclipse FoundationM2M | Vertical Market Scenarios
  • Logistic Services GatewayCommunicationInfrastructureHandheld &WearableDevicesRFIDReadersMedicalSmartServicesGatewaySmart ContainerInternetof Things36 © 2007-2012 Creative Arts & Technologies, Eclipse FoundationM2M | Vertical Market Scenarios
  • 37 © 2007-2012 Creative Arts & Technologies, Eclipse FoundationM2M | Tools
  • NFC38 © 2007-2013 Creative Arts & Technologies
  • NFC | StatsRegistered Mobile devices worldwide (Millions)39 © 2007-2012 Creative Arts & Technologies
  • • eNFC (enhanced NFC): Fully compliant NFC technology enhanced byISO 14443B and ISO 15693 standards on chip emulation side• eNFC is compatible with all existing and future application usingcontactless technologyReader or DeviceCommunicationChip emulationCommunicationISO 14443-BISO 15693ISO 14443-BISO 15693ISO 14443-ASony (Type C)ISO 14443-ASony (Type C)eNFCNFC-2(ECMA 352)NFC(ECMA340)NFC | What is eNFC?40 © 2007-2012 Creative Arts & Technologies
  • Exchange photosGet your e-ticketPay without cashRedeem couponsGet your ReceiptNFCPass the gateRead a map frominteractive billboardNFCNFCNFC | Use Cases41 © 2007-2012 Creative Arts & Technologies
  • Chiuaua Driving License: ISO 15693Toronto Payment: ISO 14443-B & ISO 15693Sao Paulo Transport: ISO 14443ASingapore Transport : Felica, ISO 14443BParis Transport : ISO 14443BTokyo Transport:FelicaTMLondon Transport : ISO 14443ASan Francisco Transport: ISO 14443BShenzen Transport : ISO 14443BHong Kong Transport: FelicaTMSeoul Transport : ISO 14443AJapan ID Card: ISO 14443BUS Payment: ISO 14443-B & ISO 14443AUS Access Control: ISO 15693Pakistan Passport: ISO 14443BNew Delhi Transport:FelicaTMNFC | Where to use this technologyDubai RTACopenhagen Public Transport (Rejsekort), SAS Smart Pass42 © 2007-2013 Creative Arts & TechnologiesMoscow, St. Petersburg Metro
  • Open NFC interfaces can be classified at different levels, from very high-levelinterfaces that greatly simplify the usual tasks of NFC applications, to very low-level interfaces that allow fine tuning of NFC hardware parameters forexample.High Level Interfaces:• NDEF Messages• Bluetooth and Wi-Fi pairing• Read / Write to any tag• P2P• Virtual TagsNFC | Open NFC™Starting Open NFC 4.3.0, the support for Java porting for JSR-257 devices isdiscontinued. Older releases of the stack were fully compliant with the JSR-257 standard.► Android Edition is currently the only one actively maintained withJava Binding!43 © 2007-2012 Creative Arts & Technologies
  • • 2 new JSRs for Mobile and Embedded approved• JSR-360: CLDC 8• CLDC 8 is an evolutionary update to CLDC 1.1.1 to bringthe VM, Java Language, and libraries up to datewith Java SE 8. Recently started EDR• More: http://java.net/projects/jsr360/pages/Home• JSR-361: Java ME Embedded Profile• Update IMP(-NG) to align with state-of-the-art features and current embeddeddevice market requirements.• More: http://java.net/projects/jsr361/pages/Home• Feel free to join the EG if you are JCP member or want to become oneEmbedded Standards | JSR-360, 36144 © 2007-2013 Creative Arts & Technologies, Oracle and/or its affiliates.
  • Interoperable platform for delivery oftrusted personal services High, industry-proven security Designed for the smallest siliconhardware devices Runs Java in as little as 4 KB RAM Deployed on >5 billion devicesGrowing at 1.4 bill. Devices p. yearSIM Cards, secureelements, eID, payment servicesSecure, Connected, Versatile45 © 2011, Oracle and/or its affiliates. All Rights Reserved.Security | Java Card Technology
  • Security | Java Card Technology46 © 2007-2012 Creative Arts & Technologies
  • Security | To Catch A ThiefSession ID: LTK1114Session Title: Cloud Security with Trusted ComputingAPI for JavaRoom: Antwerpen18:00 - 18:2047 © 2007-2013 Creative Arts & Technologies Images ©
  • Q & ALet„s talkAny resemblance to real persons, living or dead or public figures, is purely coincidental.
  • Eclipse – Project UOMohttp://www.eclipse.org/uomo/Units of Measurement APIhttp://www.unitsofmeasurement.orgUCUMhttp://www.unitsofmeasure.orgLinks
  • Eclipse – M2M IWGhttp://m2m.eclipse.orgOpen Geospatial Consortiumhttp://www.opengeospatial.orgJava Community Processhttp://www.jcp.orgLinks (2)
  • Contactwerner@catmedia.usoruomo@catmedia.usTwitter: @wernerkeilHashtag #EclipseUOMo