java update 2013

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

Upload: oracle-fusion-middleware

Post on 08-May-2015

1.774 views

Category:

Technology


1 download

TRANSCRIPT

  • 1.Yoshio TeradaJava Evangelisthttp://yoshio3.com,Twitter : @yoshioterada 1 Copyright 2012, Oracle and/or its affiliates. All rights reserved.

2. Oracle 2 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 3. Java SE Java EE 3 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 4. Java SE Java EE 4 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 5. 5 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 6. Java Duke6 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 7. Duke !!7 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 8. 178 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 9. 9 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 10. Java Write Onece Run Anywhere James GoslingBill Joy10 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 11. Java Java VM11 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 12. Servers DesktopEmbedded TVMobile Card BD-J Key APIsJava EEJavaFXJava TV MSAPlatformJava SE Java MEJava Card LanguageJava Language Java Platform12 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 13. Java J2SE 1.4 Java SE 6J2SE1.2 JDK1.020062004 200220001998 19971996Java SE 5J2SE 1.3 JDK1.113 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 14. Oracle Java"Java is the single most importantsoftware asset we have ever acquired."Java Larry Ellison14 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 15. Java Java SE 7 2013 201115 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 16. JJUG IOUC JavaSUNORACLE ORACLEJava ORACLEJavaJava http://arclamp.hatenablog.com/entry/2013/01/21/11085716Copyright 2012, Oracle and/or its affiliates. All rights reserved. 17. 2013 Java 17 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 18. Java SE Java EE 18 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 19. Servers DesktopEmbedded TVMobile Card BD-J Key APIsJava EEJavaFXJava TV MSAPlatformJava SE Java MEJava Card LanguageJava Language Java Platform19 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 20. Java: (JDK1.2 Java SE 6)Server benchmark: Volano 2.5.0.9 900Normalized to J 2S E 1.2.2 P erformance 800 700 600 500 400 300 200 100 0 J2SE 1.2.2 J2SE 1.3.1_16 J2SE 1.4.2_11 J2SE 5.0_06 Java SE 6.0Sun JVMs are 32-bitSun Fire V490: Solaris 9 / SPARCVolano Website: http://www.volano.comSource: Java Performance Engineering 20 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 21. 21 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 22. 11728 Java SE 7 22 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 23. 7Project Coin (JSR 334)NIO.2 (JSR 203)Fork/Join FrameworkInvokeDynamic (JSR 292) SDP & SCTP Unicode 6.0 TLS 1.2 IETF BCP47, UTR 35 ECC ISO 4217 Swing JLayer Locale XRender Pipeline for Java 2D URLClassLoader JDBC 4.123 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 24. Coin7 24 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 25. switch 25 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 26. JSR 203: NIO.2More New I/O APIs for theJava Platform26 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 27. 27 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 28. Java SE 7 28 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 29. 13 Java SE 8 29 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 30. JSR- 337 : Java SE 830 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 31. JavaScript (Nashorn)JavaScript31 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 32. JavaScript (Nashorn)Java VM32 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 33. Java 33 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 34. 34 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 35. 35 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 36. Were also going to open source OuriOS and Android36 Copyright 2012, Oracle and/or its affiliates. All rights reserved.implementations 37. Project Lambda37 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 38. 38 Copyright 2012, Oracle and/or its affiliates. All rights reserved. Image Herb Sutter 39. 39 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 40. ... ... 2 ... 4 ..... 8 ..... 2002 20042006 2008 2010 201240 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 41. Lambda41 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 42. Collection students = ...; max = students.filter((Student s) -> s.gradYear == 2011) .map((Student s) -> s.score) .reduce(0.0, (Double max, Double score) ->Math.max(max, score)); max = students.filter(s -> s.gradYear == 2011) .map(s -> s.score) .reduce(0.0, Math#max); max = students.parallel() .filter(s -> s.gradYear == 2011) .map(s -> s.score) .reduce(0.0, Math#max);42 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 43. Lambda(JSR-335)Date/Time API(JSR-310) Compact ProlesJava SE 8NashornType Annotations(JSR-308)43 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 44. Unied Type System OpenJFXSelf Tuning JVMJava SE 9 and Beyond!Easy of UseJigsawReication44 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 45. Java SE Java EE 45 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 46. Servers DesktopEmbedded TVMobile Card BD-J Key APIsJava EEJavaFXJava TV MSAPlatformJava SE Java MEJava Card LanguageJava Language Java Platform46 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 47. 09 12 Java EE 6 47 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 48. Java EE Cameron Purdy48 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 49. Java EE 6 Cameron Purdy49 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 50. Struts OpenEJBWeb spring+ HIBERNATEJavaServer PagesJava Servlet JerseyExpression LanguageAXIS50 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 51. 51 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 52. DB O/R DB HIBERStruts springNATEDI/CDI/Java EE JSF EJBJPA 52 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 53. 53 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 54. Struts 1.x : 1.3 %Struts 2.x : 1.3 % Struts 1 2008 10 Results of Eclipse Community Survey 2012http://www.eclipse.org/org/press-release/20120608_eclipsesurvey2012.php54 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 55. : Java EE : 24%Spring : 23%: 20% ( 95)55 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 56. Java EE 6 Java EE WebProfileServlet 3.0 JPA 2.0Java EE JSP 2.2/ELJSTL Java EE 6JTA 1.1DI 1.0/CDI 1.0 JSF 2.0Managed Bean 1.0 Bean Validation 1.0 Interceptors 1.1EJB 3.1 LiteCommon Annotations56 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 57. 57 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 58. Java EE 6Java * *XML*25% 50%80% Java EE 6, Java SE 7 Java /XML DIPOJO, REST Eclipse, JDeveloper, NetBeans58 Copyright 2012, Oracle and/or its affiliates. All rights reserved. POJO/JPA/REST 59. 59 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 60. 13 Java EE 7 60 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 61. Java EE 7 : 2013 Java EE 7 SDK 61 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 62. Java EE 7 HTML 562 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 63. Java EE 7 JSR JAX-RSEL ConcurrencyJSP 2.2 JSF 2.2Portable 2.0 3.0Utilities for EE ExtensionsServlet 3.1BatchBean Validation 1.1 Application (JSR-352)Common Interceptors 1.1 CDI 1.1 Annotations 1.1 Java API forJSON Managed Bean 1.0 EJB 3.2 (JSR-353) Java API for Connector WebSocket JPA 2.1 JTA 1.2JMS 2.01.6 (JSR-356)63 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 64. Java EE 7 64 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 65. JSR 356:JavaTM API for WebSocket65 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 66. 66 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 67. 67 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 68. 68 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 69. () 69 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 70. 1 2A 2000 A 2000 70 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 71. 71 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 72. 1 2A 4000 A 4000 72 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 73. 1..4000....4000.. ..4000.. .. 4000 ..73 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 74. 74 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 75. 1 2 A4000 4000 75 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 76. 76 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 77. WebSocket Server Push Polling Long PollingComet/Ajax77 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 78. WebSocket 2000 000 000 000 000 000 000 78 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 79. 1 79 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 80. 80 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 81. WebSocket TCP RFC 6455JavaScript API by W3C81 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 82. http://caniuse.com/websockets82 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 83. WebSocket 83 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 84. HandShake HandShake 84 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 85. HandShake (RFC 6455)GET /mychat HTTP/1.1!Host: server.example.com!Upgrade: websocket!Connection: Upgrade!Sec-WebSocket-Key:x3JJHMbDL1EzLkh9GBhXDw==!Sec-WebSocket-Protocol: megachat,chat!Sec-WebSocket-Extensions :compress, mux!Sec-WebSocket-Version: 13!Origin: http://example.com85 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 86. HandShake (RFC 6455)HTTP/1.1 101 Switching Protocols!Upgrade: websocket!Connection: Upgrade!Sec-WebSocket-Accept:HSmrc0sMlYUkAGmm5OPpG2HaGWk=!Sec-WebSocket-Protocol: chat!Sec-WebSocket-Extensions: compress,mux86 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 87. 87 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 88. WebSocket OpenOpen Message MessageMessage Message MessageMessage ErrorClose88 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 89. WebSocket APIwww.w3.org/TR/websockets/89 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 90. Java API for WebSocket (JSR-356) http://jcp.org/en/jsr/detail?id=356 http://java.net/projects/websocket-spec Early Draft90 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 91. http://java.net/projects/tyrus GlassFish v491 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 92. Java WebSocket92 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 93. WebSocket @ServerEndpoint @ClientEndpoint @OnOpen@OnClose @OnMessage @PathParam URI @OnError 93 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 94. 94 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 95. () RE Session Twitter4JSession RE Session Twitter RE WebSocket Endpoint Remote Endpoint95 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 96. 96 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 97. Java SE Java EE 97 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 98. Oracle 98 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 99. Java Developer Newsletterhttp://tinyurl.com/jdn-reg99 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 100. 2013 5 14 ?!100 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 101. 101 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 102. 102 Copyright 2012, Oracle and/or its affiliates. All rights reserved. 103. 103 Copyright 2012, Oracle and/or its affiliates. All rights reserved.