57
今今 10 今 IoT 今今今 今今今今今今 Java Yoshio Terada Java Evangelist http://yoshio3.com , Twitter: @yoshioterada Drag picture to placeholder or click icon to add

Java 2013 Update

Embed Size (px)

Citation preview

  • 1. 10 IoT Java Yoshio Terada Java Evangelisthttp://yoshio3.com , Twitter: @yoshioterada 1Copyright 2013, Oracle and/or its affiliates. All rights reserved.

2. Java Java SE 6J2SE 1.4J2SE1.2JDK1.02006 2000200220041998 19961997 Java SE 5 J2SE 1.3 JDK1.12Copyright 2013, Oracle and/or its affiliates. All rights reserved. 3. Oracle Java "Java is the single most important software asset we have ever acquired." Java Larry Ellison 3Copyright 2013, Oracle and/or its affiliates. All rights reserved. 4. Java Java SE 7201320114Copyright 2013, Oracle and/or its affiliates. All rights reserved. 5. Java: JDK1.2 Java SE 6Normalized to J2SE 1.2.2 PerformanceServer benchmark: Volano 2.5.0.9 900 800 700 600 500 400 300 200 100 0J2SE 1.2.2Sun JVMs are 32-bit Sun Fire V490: Solaris 9 / SPARC Volano Website: http://www.volano.com Source: Java Performance Engineering 5Copyright 2013, Oracle and/or its affiliates. All rights reserved.J2SE 1.3.1_16J2SE 1.4.2_11J2SE 5.0_06Java SE 6.0 6. 6Copyright 2013, Oracle and/or its affiliates. All rights reserved. 7. Java7 Copyright Oracle and/or Oracle and/or its 7 Copyright 2013, 2013, its affiliates. All rights reserved.affiliates. All rights reserved. 8. 10 IT 8Copyright 2013, Oracle and/or its affiliates. All rights reserved. 9. 347 11,000 72 60 24 11,000 278,000 41,000 104,000 2 Source: Go-Gulf.com 9Copyright 2013, Oracle and/or its affiliates. All rights reserved. 10. 63 68 72 76 5125 250 500 0.08 2003Source: Cisco 10Copyright 2013, Oracle and/or its affiliates. All rights reserved.1x1.84 20103x3.47 20155x6.58 2020 11. 11Copyright 2013, Oracle and/or its affiliates. All rights reserved. 12. 12Copyright 2013, Oracle and/or its affiliates. All rights reserved. 13. !!13 Copyright Oracle and/or Oracle and/or its 13 Copyright 2013, 2013, its affiliates. All rights reserved.affiliates. All rights reserved. 14. 14Copyright 2013, Oracle and/or its affiliates. All rights reserved. 15. Graphic Section Divider15Copyright 2013, Oracle and/or its affiliates. All rights reserved. 16. Java ME & Java SE 16Copyright 2013, Oracle and/or its affiliates. All rights reserved. 17. Java ME & Java SE Java SE 7Java SE 7CDC 1.1 (based on SE 1.4.2)CDC 1.1 CLDC 1.1CLDC 1.1 (based on SE 1.3)API 17Copyright 2013, Oracle and/or its affiliates. All rights reserved. 18. Java ME & SE Java SE 8Java ME 8API 18Copyright 2013, Oracle and/or its affiliates. All rights reserved.Java SE 8Java ME 8 19. Java ME & Java SE Java SEJava SESmall DevicesAPI 19Small DevicesCopyright 2013, Oracle and/or its affiliates. All rights reserved. 20. Servers Key APIs PlatformDesktopJava EEJavaFX Java SELanguageEmbeddedTVMobileBD-J Java TVMSAJava ME Java LanguageJava Platform 20Copyright 2013, Oracle and/or its affiliates. All rights reserved.CardJava Card 21. Java SE 8 21Copyright 2013, Oracle and/or its affiliates. All rights reserved. 22. 22Copyright 2013, Oracle and/or its affiliates. All rights reserved. 23. JSR- 337 : Java SE 823Copyright 2013, Oracle and/or its affiliates. All rights reserved. 24. Project Lambda24Copyright 2013, Oracle and/or its affiliates. All rights reserved. 25. Project Lambda25Copyright 2013, Oracle and/or its affiliates. All rights reserved. 26. ExecutorService service = ...; service.submit(new Runnable() { @Override public void run() { // doSomething(); } }); 26Copyright 2013, Oracle and/or its affiliates. All rights reserved. 2012, 27. Java SE 8 ExecutorService service = ...;service.submit(() -> doSomething()); 27Copyright 2013, Oracle and/or its affiliates. All rights reserved. 2012, 28. Java SE 8 List students = ...; double highestScore = students.stream() //.parallelStream() .filter(s -> s.getGradYear() == 2011) .mapToDouble(s -> s.getScore()) .max() .getAsDouble(); 28Copyright 2013, Oracle and/or its affiliates. All rights reserved. 2012, 29. Project Lambda Lambda (InvokeDynamic) (Stream) (parallelStream)29Copyright 2013, Oracle and/or its affiliates. All rights reserved. 30. JavaScript (Nashorn)JavaScript30Copyright 2013, Oracle and/or its affiliates. All rights reserved. 31. JavaScript (Nashorn)Java VM 31Copyright 2013, Oracle and/or its affiliates. All rights reserved. 32. Java JDK 9 7u40 7u21 Java Client Security Enhancements App Store Packaging tools Java Flight Recorder Java Mission Control 5.2 Java Discovery Protocol Native memory tracking Local Security PolicyJDK 8 (Q1 2014) Lambda JVM Convergence JavaScript Interop JavaFX 8Modularity Jigsaw Interoperability Cloud Ease of Use Optimizations201520142013 2016Java ME Embedded 3.4Java ME Embedded 8Java SE Embedded 8Java Embedded 9 Fast follow-on QSC platform only Enhanced on-device debugging, monitoring Java ME CLDC 8 & ME Embedded Profile 8 Little sibling of Java SE 8 New & enhanced Embedded API New portable architecture Small and full profiles Java ME and SE 9 Modularity based on JigsawJava ME SDK 8 Improved developer tooling & experience32Copyright 2013, Oracle and/or its affiliates. All rights reserved.Complete JVM convergence New Compact Profiles Significantly smaller base runtime Embedded JRE customization tool Support for ARM, Power PC & x86 Java Flight Recorder/Mission Control Simple migration of ME CDC headless applications 33. 13 6 Java EE 7 33Copyright 2013, Oracle and/or its affiliates. All rights reserved. 34. Java EE 7 Java EE 7 34Copyright 2013, Oracle and/or its affiliates. All rights reserved.HTML5 35. Java EE 7 WebSocket JAX-RS JSON-P 35Copyright 2013, Oracle and/or its affiliates. All rights reserved. 36. WebSockets HTML 5 HTML5 WebSockets : JSON : RESTful : 36Copyright 2013, Oracle and/or its affiliates. All rights reserved. 37. Java EE 7 HTML 5 ViewHTTP/JS ModelView Model 37Copyright 2013, Oracle and/or its affiliates. All rights reserved.HTTP/JSJSONView Service 38. WebSocket Web JMSLB WS Message Driven Bean 38Copyright 2013, Oracle and/or its affiliates. All rights reserved. 39. Java EE 7 WebSocket http://www.slideshare.net/OracleMiddleJP/java-ee7-holjjugccc 39Copyright 2013, Oracle and/or its affiliates. All rights reserved. 40. 40Copyright 2013, Oracle and/or its affiliates. All rights reserved. 41. Java EE41Copyright 2013, Oracle and/or its affiliates. All rights reserved.GET INVOLVED! 42. Open Sourcing Project Avatar avatar.java.net Download and try now! Get involved!42Copyright 2013, Oracle and/or its affiliates. All rights reserved. 43. Project Avatar Java JavaScript JavaScript WebSocket, REST, SSE 43Copyright 2013, Oracle and/or its affiliates. All rights reserved. 44. JavaScript (Nashorn)JavaScript44Copyright 2013, Oracle and/or its affiliates. All rights reserved. 45. Avatar Avatar (HTML 5/JS/CSS)HTTPAvatar UI 45HTML 5 DOMCopyright 2013, Oracle and/or its affiliates. All rights reserved.HTTP SSE WebSocketHTTP/ WebSocketView Avatar (HTML5/JavaScript)Avatar Nashorn (JavaScript )Java EE Java EE App 46. Avatar Avatar (HTML 5/JS/CSS)HTTPAvatar HTTP/ WebSocketUI 46HTML 5 DOMCopyright 2013, Oracle and/or its affiliates. All rights reserved.HTTP/ WebSocketView Avatar (HTML5/JavaScript)Data Avatar Avatar Nashorn (JavaScript )Java EE Java EE App 47. Avatar Avatar (HTML 5/JS/CSS)HTTPAvatar HTTP/ WebSocketUI 47HTML 5 DOMCopyright 2013, Oracle and/or its affiliates. All rights reserved.HTTP/ WebSocketView Avatar XML/JavaScriptAvatar Nashorn (JavaScript ) ViewJava EE Java EE App 48. Avatar Avatar (HTML 5/JS/CSS)HTTPAvatar HTTP/ WebSocketUI 48HTML 5 DOMCopyright 2013, Oracle and/or its affiliates. All rights reserved.View Avatar XML/JavaScriptAvatar Nashorn (JavaScript ) View Java EE HTTP/ WebSocketJava EE App 49. Avatar Avatar (HTML 5/JS/CSS)HTTPAvatar View UI HTML 5 DOM 49Copyright 2013, Oracle and/or its affiliates. All rights reserved.HTTP/ WebSocketHTTP/ WebSocketView Avatar XML/JavaScriptData Avatar Nashorn (JavaScript )Java EE Java EE App 50. Avatar Avatar (HTML 5/JS/CSS)HTTPAvatar HTTP/ WebSocketUIHTML 5 DOM WebSocket/Server-Sent Event/ RESTful Data 50Copyright 2013, Oracle and/or its affiliates. All rights reserved.HTTP/ WebSocketView Avatar XML/JavaScript Avatar Nashorn (JavaScript )Java EE Java EE App 51. Java EE Avatar (HTML 5/JS/CSS)HTTPAvatar HTTP/ WebSocketUI 51HTML 5 DOM Copyright 2013, Oracle and/or its affiliates. All rights reserved.HTTP/ WebSocketView Avatar XML/JavaScriptData Avatar Java EE Nashorn (JavaScript ) Java EE Java EE App 52. Avatar (HTML 5/JS/CSS)HTTPAvatar HTTP/ WebSocketUI 52View Avatar XML/JavaScript Avatar Nashorn (JavaScript )HTML 5 DOM JPA, JMS, NoSQL Copyright 2013, Oracle and/or its affiliates. All rights reserved.Java EE Java EE App 53. Avatar Avatar (HTML 5/JS/CSS)HTTPAvatar HTTP/ WebSocketUIHTML 5 DOM 53Copyright 2013, Oracle and/or its affiliates. All rights reserved.View Avatar XML/JavaScriptData Avatar Nashorn (JavaScript ) HTML 5, DOM, Java EE Java EE HTTP/ App WebSocket 54. Project Avatar http://yoshio3.com/2013/10/10/beginning-of-project-avatar/ 54Copyright 2013, Oracle and/or its affiliates. All rights reserved. 55. Java55 Copyright Oracle and/or Oracle and/or its 55 Copyright 2013, 2013, its affiliates. All rights reserved.affiliates. All rights reserved. 56. Java 56Copyright 2013, Oracle and/or its affiliates. All rights reserved. 57. 10 IoT Java Yoshio Terada Java Evangelisthttp://yoshio3.com , Twitter: @yoshioterada 57Copyright 2013, Oracle and/or its affiliates. All rights reserved.