78
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 1 Yoshio Terada Java Evangelist http://yoshio3.com , Twitter : @yoshioterada 2014 年 Java 年年年年年年年年年

Java Update 2014 okinawa

Embed Size (px)

DESCRIPTION

 

Citation preview

  • Copyright 2012, Oracle and/or its affiliates. All rights reserved.1 Yoshio Terada Java Evangelist http://yoshio3.com, Twitter : @yoshioterada

Copyright 2012, Oracle and/or its affiliates. All rights reserved.2 Oracle Copyright 2012, Oracle and/or its affiliates. All rights reserved.3 Java SE Java EE Copyright 2012, Oracle and/or its affiliates. All rights reserved.4 Java SE Java EE Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 is Back Copyright 2012, Oracle and/or its affiliates. All rights reserved.6 2014 Java Copyright 2012, Oracle and/or its affiliates. All rights reserved.7 Java SE 8 2014 03 18 Copyright 2012, Oracle and/or its affiliates. All rights reserved.8 Java SE Java EE Copyright 2012, Oracle and/or its affiliates. All rights reserved.9 Servers Desktop Embedded TV Mobile Card Java Card Java EE Java TV BD-J JavaFX MSA Java Language Java SE Java ME Key APIs Platform Language Java Platform Copyright 2012, Oracle and/or its affiliates. All rights reserved.10 Java: (JDK1.2 Java SE 6) J2SE 1.2.2 J2SE 1.3.1_16 J2SE 1.4.2_11 J2SE 5.0_06 Java SE 6.0 0 100 200 300 400 500 600 700 800 900 NormalizedtoJ2SE1.2.2Performance Server benchmark: Volano 2.5.0.9 Sun JVMs are 32-bit Sun Fire V490: Solaris 9 / SPARC Volano Website: http://www.volano.com Source: Java Performance Engineering Copyright 2012, Oracle and/or its affiliates. All rights reserved.11 Copyright 2012, Oracle and/or its affiliates. All rights reserved.12 2011728 Java SE 7 Copyright 2012, Oracle and/or its affiliates. All rights reserved.13 7 Project Coin (JSR 334) NIO.2 (JSR 203) Fork/Join Framework InvokeDynamic (JSR 292) Unicode 6.0 IETF BCP47, UTR 35 ISO 4217 Locale URLClassLoader SDP & SCTP TLS 1.2 ECC Swing JLayer XRender Pipeline for Java 2D JDBC 4.1 Copyright 2012, Oracle and/or its affiliates. All rights reserved.14 Java SE 8 2014 03 18 Copyright 2012, Oracle and/or its affiliates. All rights reserved.15 JSR- 337 : Java SE 8 Copyright 2012, Oracle and/or its affiliates. All rights reserved.16 Java SE 7 Java SE 8 Java SE 7 Project Coin Java NIO.2 Fork/Join Framework InvokeDynamic Java SE 8 Lambda Stream API Nashorn (JavaScript) Date & Time API Type Annotation Compact Profile JavaFX Java VM Copyright 2012, Oracle and/or its affiliates. All rights reserved.17 Project Lambda Lambda Streaming API Copyright 2012, Oracle and/or its affiliates. All rights reserved.18 Copyright 2012, Oracle and/or its affiliates. All rights reserved.19 Lambda Copyright 2012, Oracle and/or its affiliates. All rights reserved.20 Copyright 2012, Oracle and/or its affiliates. All rights reserved.20 ExecutorService service = ...; service.submit(new Runnable() { @Override public void run() { // doSomething(); } }); 1. Copyright 2012, Oracle and/or its affiliates. All rights reserved.21 Copyright 2012, Oracle and/or its affiliates. All rights reserved.21 ExecutorService service = ...; service.submit(() -> doSomething()); abstract Java SE 8 Copyright 2012, Oracle and/or its affiliates. All rights reserved.22 Stream API Copyright 2012, Oracle and/or its affiliates. All rights reserved.23 Stream API () Lambda Copyright 2012, Oracle and/or its affiliates. All rights reserved.24 Stream API () Stream Stream.of() Stream.empty() Stream.generate() list.stream() filter map mapToInt flatMap distinct sorted limit skip forEach forEachOrdered toArray reduce collect min,max,count Copyright 2012, Oracle and/or its affiliates. All rights reserved.25 Copyright 2012, Oracle and/or its affiliates. All rights reserved.25 for (JavaSE7) List list = Arrays.asList("aaa", "bbb", "ccc", "abc"); for (String data : list) { if (data.startsWith("a")) { System.out.println(data); } } a Copyright 2012, Oracle and/or its affiliates. All rights reserved.26 Copyright 2012, Oracle and/or its affiliates. All rights reserved.26 Lambda Stream API Lambda List list = Arrays.asList("aaa", "bbb", "ccc", "abc"); list.stream() .filter(data -> data.startsWith("a)) .forEach(System.out::println); for , if Copyright 2012, Oracle and/or its affiliates. All rights reserved.27 Java VM () Copyright 2012, Oracle and/or its affiliates. All rights reserved.28 JavaScript JavaScript (Nashorn) Copyright 2012, Oracle and/or its affiliates. All rights reserved.29 Copyright 2012, Oracle and/or its affiliates. All rights reserved.30 Copyright 2012, Oracle and/or its affiliates. All rights reserved.31 Compact API https://blogs.oracle.com/jtc/entry/a_first_look_at_compact Copyright 2012, Oracle and/or its affiliates. All rights reserved.32 Java SE 8 (JSR 337) JSR-308 : Annotations on types JSR-310 : Date and Time API JSR-335 : Lambda expressions JSR-114 : JDBC Rowsets JSR-160 : JMX Remote API JSR-199 : Java Compiler API JSR-173 : Streaming API for XML JSR-221 : JDBC 4.0 JSR-269 : Pluggable Annotation-Processing API Copyright 2012, Oracle and/or its affiliates. All rights reserved.33 Language Core Libraries Virtual machine Security Platform Internationalisation Copyright 2012, Oracle and/or its affiliates. All rights reserved.34 Java SE Java EE Copyright 2012, Oracle and/or its affiliates. All rights reserved.35 Servers Desktop Embedded TV Mobile Card Java Card Java EE Java TV BD-J JavaFX MSA Java Language Java SE Java ME Key APIs Platform Language Java Platform Copyright 2012, Oracle and/or its affiliates. All rights reserved.36 19985 199912 10 specs 20019 13 specs Web 200311 20 specs Project JPE J2EE 1.3 CMP, Connector Architecture J2EE 1.4 Web Services Mgmt, Deployment, Async Connector J2EE 1.2 Servlet, JSP, EJB, JMS RMI/IIOP Java EE Copyright 2012, Oracle and/or its affiliates. All rights reserved.37 () JSP Servlet EL + Struts spring HIBERNATE AXIS OpenEJB Jersey Web (Tomcat) Copyright 2012, Oracle and/or its affiliates. All rights reserved.38 Copyright 2012, Oracle and/or its affiliates. All rights reserved.39 Struts 1.x : 1.3 % Struts 2.x : 1.3 % Results of Eclipse Community Survey 2012 http://www.eclipse.org/org/press-release/20120608_eclipsesurvey2012.php Struts 1 2013 4 Copyright 2012, Oracle and/or its affiliates. All rights reserved.40 Copyright 2012, Oracle and/or its affiliates. All rights reserved.41 Rod Copyright 2012, Oracle and/or its affiliates. All rights reserved.42 Paul Maritz (EMC World) 30Java Ruby Copyright 2012, Oracle and/or its affiliates. All rights reserved.43 Pivotal Copyright 2012, Oracle and/or its affiliates. All rights reserved.44 OSS Copyright 2012, Oracle and/or its affiliates. All rights reserved.45 OSS OSS OSS Copyright 2012, Oracle and/or its affiliates. All rights reserved.46 Copyright 2012, Oracle and/or its affiliates. All rights reserved.47 Struts struts.apache.org/ www.springsource.org/ www.hibernate.org/ OSS Spring Hibernate Copyright 2012, Oracle and/or its affiliates. All rights reserved.48 Tomcat Struts Spring Hibernate Copyright 2012, Oracle and/or its affiliates. All rights reserved.49 2013 7 18 Copyright 2012, Oracle and/or its affiliates. All rights reserved.50 WebLogic/GlassFish Java EE Java EE Java EE () Copyright 2012, Oracle and/or its affiliates. All rights reserved.51 SI SI Copyright 2012, Oracle and/or its affiliates. All rights reserved.52 OSS Copyright 2012, Oracle and/or its affiliates. All rights reserved.53 Java: 9,000,000 JAVA DEVELOPERS DEPLOYING TO 18 COMPLIANT APPLICATION SERVERS Copyright 2012, Oracle and/or its affiliates. All rights reserved.54 Java EE 7 2013612 Copyright 2012, Oracle and/or its affiliates. All rights reserved.55 Copyright 2012, Oracle and/or its affiliates. All rights reserved.56 GlassFish v4 NetBeans Java EE SDK Copyright 2012, Oracle and/or its affiliates. All rights reserved.57 Java EE 7 WebSocket JAX-RS JSON-P Copyright 2012, Oracle and/or its affiliates. All rights reserved.58 Java EE 7 DEVELOPER PRODUCTIVITY MEETING ENTERPRISE DEMANDS Java EE 7 Copyright 2012, Oracle and/or its affiliates. All rights reserved.59 HTML 5 Copyright 2012, Oracle and/or its affiliates. All rights reserved.60 HTML 5 View Model HTTP/JS View Service HTTP/JS JSON View Model Copyright 2012, Oracle and/or its affiliates. All rights reserved.61 View Model HTTP/JS JavaServer Faces 2.2 Copyright 2012, Oracle and/or its affiliates. All rights reserved.62 View Service HTTP/JS JSON View Model WebSocket 1.0 JSON 1.0 JAX-RS 2.0 Copyright 2012, Oracle and/or its affiliates. All rights reserved.63 DEVELOPER PRODUCTIVITY Java EE 7 Copyright 2012, Oracle and/or its affiliates. All rights reserved.64 Java SE 7 try-with-resource JAX-RS Web Profile Java EE 7 JMSContext Connection Session Copyright 2012, Oracle and/or its affiliates. All rights reserved.65 MEETING ENTERPRISE DEMANDS Copyright 2012, Oracle and/or its affiliates. All rights reserved.66 Java EE JMS Copyright 2012, Oracle and/or its affiliates. All rights reserved.67 Copyright 2012, Oracle and/or its affiliates. All rights reserved.68 Copyright 2012, Oracle and/or its affiliates. All rights reserved.69 Java EE UFJ IT Copyright 2012, Oracle and/or its affiliates. All rights reserved.70 Java EE 6 Java EE Copyright 2012, Oracle and/or its affiliates. All rights reserved.71 CTO Java EE Java EE Java EE Copyright 2012, Oracle and/or its affiliates. All rights reserved.72 Java EE NTT Java EE JSF 1 Java EE 6 Facelets Copyright 2012, Oracle and/or its affiliates. All rights reserved.73 Java & Java EE OS Copyright 2012, Oracle and/or its affiliates. All rights reserved.74 is Back Copyright 2012, Oracle and/or its affiliates. All rights reserved.75 Java SE Java EE Copyright 2012, Oracle and/or its affiliates. All rights reserved.76 Java Developer Newsletter http://tinyurl.com/jdn-reg Copyright 2012, Oracle and/or its affiliates. All rights reserved.77 Copyright 2012, Oracle and/or its affiliates. All rights reserved.78