JamesÕ HJUG JavaOne 2012 Wrapupstatic.hjug.org/present/JamesJavaOne2K12Wrapup.pdf ·...
Transcript of JamesÕ HJUG JavaOne 2012 Wrapupstatic.hjug.org/present/JamesJavaOne2K12Wrapup.pdf ·...
James’ HJUG JavaOne 2K12 Wrapup 24-Oct-2012
AgendaJavaOne 2012 Δ 2011
J1 Themes
Java && HTML5: Part Deux
Java Mac OS X: Delivered
Java Goes Small
Fluent in Java
Open JDK for the Rest Of Us
J1NDX Market Wrap Up
James’ J1 Recommended Sessions
2
James’ HJUG JavaOne 2K12 Wrapup 24-Oct-2012
JavaOne 2012 Δ 2011Added Tutorials
Opening Keynote moved to Sunday
All sessions available for free on line, mix of slides, audio, and video:
https://oracleus.activeevents.com/connect/search.ww?event=javaone
The Return Of Gosling !
Backpacks better than last year’s
3
James’ HJUG JavaOne 2K12 Wrapup 24-Oct-2012 4
James’ HJUG JavaOne 2K12 Wrapup 24-Oct-2012
J12K12 Themes
Java SE 7
New Oracle JVMs for Mac and Linux-ARM
Java SE 8
Lambda in, Jigsaw delayed
JavaFX 2.2
Windows, Mac, with Scene Builder
Java EE 7
HTML5 Support (SSE and Web Sockets), JMS 2.0
5
James’ HJUG JavaOne 2K12 Wrapup 24-Oct-2012
&&WebSocket Specification Seems to have finalized
Enabled by default with GlassFish 4
Netbeans 7.3 Beta Project Easel
JavaScript, CSS editor
JavaScript debugger
Multiple Browser Profiles (Mobile)
Still Bleeding Edge Technology
Native Mobile Apps vs. HTML5 ?6
: Part Deux
James’ HJUG JavaOne 2K12 Wrapup 24-Oct-2012
Java
Oracle releases JDK 7 GA, Apple deprecates their JDK 6
JavaFX 2.2 included
JavaFX Scene Builder 1.0 Released
Moving to a single active JRE per system philosophy (all platforms)
Utility application replaced with System Preference Pane
CON7488 - Java Deployment on Mac OS X
7
Mac OS : Delivered
James’ HJUG JavaOne 2K12 Wrapup 24-Oct-2012
Java Goes SmallJava SE for ARM/Linux Platforms
HOL7889 - Java SE Embedded Development Made Easy
J2SE and Tomcat based web service on a SheevaPlug
Lab Video Part 1: http://www.youtube.com/watch?v=mAnne3N0d5Y
Lab Video Part 2: http://www.youtube.com/watch?v=G8oMx2SJZq8
Schedule Builder Kiosk Demo using J2SE, JavaFX 2.2 and BeagleBoards
Highly dependent on hardware (especially GUI Apps) which is currently often difficult to get
8
James’ HJUG JavaOne 2K12 Wrapup 24-Oct-2012 9
James’ HJUG JavaOne 2K12 Wrapup 24-Oct-2012
Fluent in JavaInterface/Method Style intended to simplify code when assigning object values
Coined by Martin Fowler and Eric Evans
Setter methods which return an instance of the same object for which a value has been set
CON5089 - Jump-Starting Lambda Programming, CON3455 - Design Patterns in Modern JVM, Languages, CON6789 - Future HttpClient: A Sneak Peek into a New HttpClient API
10
James’ HJUG JavaOne 2K12 Wrapup 24-Oct-2012
Fluent in Java - Example
11
HttpClient client = HttpClientBuilder.createClientBuilder() .setProxy(new InetSocketAddress(“proxy”, 8080)) .setExecutorService(Executors.newFixedThreadPool(20)) .setConnectionCache(new SimpleConnectionCache(20, 10000)) .setSSLContext(SSLContext.getDefault()) // set resource parameters .setDefaultRequestBodyBufferLimit(64 * 1024) .setDefaultTimeout(10 * 1000) // add a logging filter .addFilter(MyLogFilter.class) // build the HttpClient .build();
Code Example from CON6789:
James’ HJUG JavaOne 2K12 Wrapup 24-Oct-2012
OpenJDK for the Rest of Us
An attempt to simplify building the OpenJDK
http://openjdk.java.net/projects/build-infra
Ultimate goal is to move to configure/make style build by the end of the year
Minecraft is responsible for a large number of bugs filed !
BOF4047 - OpenJDK Building and Testing: Case Study
12
James’ HJUG JavaOne 2K12 Wrapup 24-Oct-2012
J1NDX WinnersJava SE/FX
Embedded Java
GlassFish
NetBeans
Java on the Mac
Jenkins
13
James’ HJUG JavaOne 2K12 Wrapup 24-Oct-2012
J1NDX LosersJ2ME (Still popular on “Feature Phones”, Blackberry, and Blu-Ray Set Top Boxes)
Spring (CDI)
Solaris
Ant
Eclipse
Hudson
14
James’ HJUG JavaOne 2K12 Wrapup 24-Oct-2012
J1NDX Unchanged (w/ Recommendations)
Swing (Hold)Applets: Java’s DNA (Hold)Java SE 6 (Sell)HTML5 (???)
15
James’ HJUG JavaOne 2K12 Wrapup 24-Oct-2012
James’ J1 Recommended Sessions
Friday’s Community Keynote Session (Oct 4)
CON6234 - Do You Really Get Class Loaders?
CON5089 - Jump-Starting Lambda Programming
CON3455 - Design Patterns in Modern JVM Languages
CON7755 - Security in the Real World
CON5262 - Creating a Magical User Experience
16
James’ HJUG JavaOne 2K12 Wrapup 24-Oct-2012 17