1 copyright © 2012, oracle and/or its affiliates. all...

91
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 1

Upload: others

Post on 22-Jan-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.1

Page 2: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.2

The following material is intended to outline our general

product direction. It is intended for information purposes

only, and may not be incorporated into any contract. It is

not a commitment to deliver any material, code, or

functionality, and should not be relied upon in making

purchasing decisions. The development, release, and

timing of any features or functionality described for

Oracle’s products remains at the sole discretion of Oracle.

Page 3: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.3

Java SE StrategySimon Ritter

Java Technology Ambassador

@speakjava

Page 4: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.4

Java SE 7 Uptake

0

50

100

150

200

250

7 7u1 7u2 7u3 7u4 7u5 7u6 7u7

百万

Oracle JRE 7 Downloads

Oracle JRE 7 Downloads

Page 5: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.5

Java 7 on OS X and Linux/ARM

Ethernet

USB

SD

Card

Audio RCA

Video

General

Purpose I/O

PowerHDMI

Image source: Boston Ltd., UK

Page 6: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.7

JDK 8

Java for Everyone• Profiles for constrained devices

• JSR 310 - Date & Time APIs

• Non-Gregorian calendars

• Unicode 6.2

• ResourceBundle.

• BCP47 locale matching

• Globalization & Accessibility

Innovation• Lambda aka Closures

• Language Interop

• Nashorn

Core Libraries• Parallel operations for core

collections APIs

• Improvements in functionality

• Improved type inferenceSecurity• Limited doPrivilege

• NSA Suite B algorithm support

• SNI Server Side support

• DSA updated to FIPS186-3

• AEAD JSSE CipherSuites

Tools• Compiler control & logging

• JSR 308 - Annotations on

Java Type

• Native app bundling

• App Store Bundling tools

Client• Deployment enhancements

• JavaFX 8

• Java SE Embedded support

• Enhanced HTML5 support

• 3D shapes and attributes

• Printing

General Goodness• JVM enhancements

• No PermGen limitations

• Performance lmprovements

Page 7: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.9

Coordinated Platform Upgrade with Lambda

• Language

• Lambda Expressions (closures)

• Interface Evolution with default methods

• Libraries

• Bulk data operations on Collections

• More library support for parallelism

• JVM

• Default methods

• Enhancements to invokedynamic

Page 8: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.11

for (Shape s : shapes) {

if (s.getColor() == BLUE)

s.setColor(RED);

}

shapes.forEach(s -> {

if (s.getColor() == BLUE)

s.setColor(RED);

});

Page 9: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.12

Extension Methods

interface Collection<T> {

default void forEach(Block<T> action) {

for (T t : this)

action.apply(t);

}

// Rest of Collection methods…

}

Page 10: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.14

Project Nashorn

Page 11: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.15

Test Pilots Wanted

• Developer Preview available

• Schedule on: http://openjdk.java.net/projects/jdk8

• Contribute to OpenJFX: http://openjdk.java.net/projects/openjfx

• JDK 8 builds with many features already available

• Try out Lambda and check out JavaFX 8: http://jdk8.java.net

• Participate in the JCP for free through your local JUG

• Jigsaw builds also available from Java.net

Page 12: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.16

To Java SE 9 and Beyond!

Jigsaw

Cloud

Ease of useOptimizations Generic Lang Interoperability

Penrose

OpenJFX

Project Sumatra – Java for GPUs

Ports: Power PC/AIX

Multi-Tenancy Support

Self Tuning JVM

Improved Integration with Native

Resource Management

Lang Enhancements

Unified Type System

Data Structure Optimizations

Page 13: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.17

RoadmapJava SE

20152013 2014

JDK 8 (Q1 2014)• Lambda

• JVM Convergence

• JavaScript Interop

• JavaFX 8

– 3D API

– Java SE Embedded support

– Enhanced HTML5 support

7u40• Java Flight Recorder in JDK

• Native memory tracking

• Java Discovery Protocol

• App Store Packaging tools

JDK 9• Jigsaw

• Interoperability

• Optimizations

• Cloud

• Ease of Use

• JavaFX JSR

NetBeans IDE 7.3• New hints and refactoring

• Scene Builder Support

NetBeans IDE 8• JDK 8 support

• Scene Builder 2.0 support

Scene Builder 2.0• JavaFX 8 support

• Enhanced Java IDE support

NetBeans IDE 9• JDK 9 support

• Scene Builder 3.0 support

SceneBuilder 3.0• JavaFX 9 support

7u21• Java Client

Security

Enhancements

2016

JDK 8.1 (Q3 2014)• Deterministic G1

• JMC 6

• Improved JRE installer

• App bundling

enhancements

JDK 8.2

Scene Builder 1.1• Linux support

Page 14: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.18

JavaFX StrategyNandini Ramani

Vice President

Java Client and Embedded Platforms

@eyeseewaters

Page 15: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.19

JavaFX Today

Multi-TouchMac

Scene Builder

1080p

ComboBox

HTTP Live Streaming

Pagination

Native Deployment

h.264

Canvas

Writeable Image

ColorPickeri18n

LinuxOpenJFX

SWT integration

for Windows and Mac OS X

WebView JavaScript-to-Java

FXML

Web history

PixelWriter

Windows

Swing integration

Hardware Accelerated Graphics

UI Controls

Charts

Charts

HTML5

e(fx)clipse

GroovyFX ScalaFX

Page 16: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.20

JavaFX Deployments

Page 17: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.21

Fun with Mac App Store and OpenJFX!

http://openjdk.java.net/projects/openjfx

http://javafx-jira.kenai.com/secure/Dashboard.jspa

JavaFX technology holds a lot of promise

and developing it in an open-source

manner only makes it more so. We would

like to contribute to this project just like

we contribute to OpenJDK.

-- Deepak Bhole, Red Hat

Page 18: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.22

JavaFX 8 and Beyond

Multi-Touch

Scene Builder Advanced Cells

Embedded

Performance

Rich Text3D

Snapshot

Printing

Accessibility

UI Controls Public API

for Linux

ARMComplex characters

SwingNode

TreeTableView

Maven

IntelliJ

Page 19: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.23

RoadmapJavaFX

20152013 2014

JDK 8 (Q1 2014)• Lambda

• JVM Convergence

• JavaScript Interop

• JavaFX 8

– 3D API

– Java SE Embedded support

– Enhanced HTML5 support

7u40• Java Flight Recorder in JDK

• Native memory tracking

• Java Discovery Protocol

• App Store Packaging tools

JDK 9• Jigsaw

• Interoperability

• Optimizations

• Cloud

• Ease of Use

• JavaFX JSR

NetBeans IDE 7.3• New hints and refactoring

• Scene Builder Support

NetBeans IDE 8• JDK 8 support

• Scene Builder 2.0 support

Scene Builder 2.0• JavaFX 8 support

• Enhanced Java IDE support

NetBeans IDE 9• JDK 9 support

• Scene Builder 3.0 support

SceneBuilder 3.0• JavaFX 9 support

Apr CPU• Java Client

Security

Enhancements

2016

JDK 8.1 (Q3 2014)• Deterministic G1

• JMC 6

• Improved JRE installer

• App bundling

enhancements

JDK 8.2

Scene Builder 1.1• Linux support

Page 20: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.24

JavaFX 3D DemonstrationJim Weaver

Java Technology Ambassador

@javaFXpert

Page 21: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.25

Java Embedded Strategy

Page 22: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

x86 Architecture/Windows OS

Standards Based Hardware & Software

Proprietary Hardware & Software

1960 - 1985

Host Era

2006 - 2025

Internet of Things

1985-2006

PC Era

The 3rd IT Revolution

Page 23: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.27

World

Population

Connected

Devices

Connected

Devices Per

Person

6.3 Billion 6.8 Billion 7.2 Billion 7.6 Billion

500 Million 12.5 Billion 25 Billion 50 Billion

0.08 1.84 6.583.47

2003 2010 20202015

Source: Cisco, April 2013

More

connected

devices

than

people

Page 24: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.28

Use Case: City Automation & Traffic Management

•Automatic number

plate recognition

•Red-light violation

detection

•Traffic jam detection

•Vehicle location

system

•Geo-fences

Source: http://www.flickr.com/photos/epsos/5591761716/

Page 25: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.29

Use Case: Industrial Automation•High-speed data

collection and

analysis

•Local storage and

historical analysis

•Filtering, correlation

and pattern matching

of real-world data

Source: Rockwell Automation

Page 26: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.30

Use Case: Retail Machines

•Demand-based

refrigeration to conserve

energy

•Dynamically changing

prices based on weather

and demand

• Inventory management

Source: http://www.flickr.com/photos/61360523@N04/7183848790/

Page 27: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.31

Use Case: Transportation & Telemetry

•Location tracking

•Container contents

monitoring

• Intrusion detection

•Temperature and

pressure monitoring

Source: http://www.flickr.com/photos/9979792@N04/2984873350/

Page 28: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.32

Use Case: Remote Patient Monitoring

•Data evaluation for

potential health

problems

•Automatic alerts to

caregivers and

healthcare providers

•Historical data analysis

Page 29: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.33

Use Case: Home Automation

•Real-time pricing with

adaptive intelligence for

carbon footprint

reduction

•Automatic water usage

metering enables

conservation

• Intrusion detection

Page 30: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.35

Looking Behind the Covers

Home Gateway

Solar panel micro-grid

controller

Smart Appliance

Smart Thermostat

Plug-in car charging

station controller

Security Controller

Smart Meter

IP

IP

IP

Z-Wave

ZigBeeIP

Utilities Company

Billing & Demand/Response

Meter Data Management

Appliance Company

Applications Provisioning

Security Company

Events Processing System

IP

IP

Complex network of smart devices communicating with business applications

Page 31: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.36

A New Set of Challenges

• Multitude and variety of

devices

• Security, privacy, reliablity

• Remoteness, no human

control

• Provisioning, management

and monitoring

• Data flow and analytics

• Interoperability and

standards

What keeps you awake at night?

• Long device lifecycle

• Connectivity, cost,

infrastructure, bandwidth

• Device cost, power

requirements

• Developer productivity

• Development cost, skill sets,

re-use

• Time-to-market

Page 32: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.37

Java Delivers Technical Value

• Standards based

• Vast developer base

• Mature development and run-time environment

• Supported on small to large devices

• Seamless integration with backend services: filtering,

data movement, data management, analytics, security

• Provides a complete end to end platform to develop

standards based services

Page 33: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.38

Platform

Footprint

Device

CPU/

GPU/I-OARM 7 Cortex M ARM9/11 MIPS32/Intel Atom/ARM CortexA/PPC

50KB-1MB

1MB-10MB

10MB-100MB

Oracle Java Embedded Offering Today

Java card

OJEC

MEDIUM

SE-E

LARGE

ME-E

SMALLSECURITY

Page 34: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.39

Current Embedded Releases

Java ME Embedded 3.3

Runtime for small embedded

devices: Microcontroller

class platforms

Java Embedded Suite 7.0

Pre-integrated full featured

Java Embedded Platform

EDGE DEVICES GATEWAYS/CONCENTRATORS

Embedded

Enterprise Data & Applications

DB3.1.1

OEP Embedded

Filter, correlate

and process

streaming events

in real-time

New

New

Page 35: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.40

RoadmapEmbedded Java

20162012 2013 2014

Java Embedded Suite 7

•SE Embedded 7

•GlassFish for Embedded

•Java DB

Java SE Embedded 8 • Complete JVM convergence

• Additional compact profiles

• JavaFX for Embedded

Java Embedded Suite 8• Extensible framework to allow

simple integration of new services

NetBeans IDE 8•Java ME/SE 8 Embedded

support

Java ME Embedded 3.2

•Microcontroller support

•Device Access APIs

Java ME SDK 3.2

•Embedded emulator

•Eclipse integration

Java Embedded 9

•JDK9

•Modularity based on Jigsaw

•Additional Embedded device

APIs

•Ease of Development

Java ME Embedded 3.3

•Enhanced device access

•Footprint optimization &

configuration tools

•Raspberry Pi, Keil F200, QSC

6270, Windows

Java ME SDK 3.3

•Improved developer tooling &

experience for ME-Embedded

Oracle Event Processing for

Java Embedded 11.1.1.7.1

•Real-time data capture and

analysis for embedded devices

Java ME Embedded 8•Java ME 8

•Standardized Embedded API

•New on-device debugging

architecture

Java ME SDK 8

•Improved developer tooling &

experience

NetBeans IDE 9

•Java ME/SE 9

Embedded support

•Jigsaw support

NetBeans IDE 7.3

•Improved ME Emb. support

•New hints and refactoring

•HTML 5, Scene Builder

Page 36: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.41

Java EE StrategyCameron Purdy

Vice President

Cloud Application Foundation and Java EE

@cpurdy

Page 37: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.42

Java EE Focus and Direction

Standard: For Developing Enterprise Applications

Modularity: Supporting modular design

Extensibility: Embracing innovation

Portability: Across vendors, across clouds

Productivity: For Enterprise Java Developers

Page 38: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.43

Java EE Community

GlassFish87 promoted builds

2 Releases

shipped

Java EE 7

1 HUGE COMMUNITY

14 active

JSRs

16 spec

leads

32

companies 187 experts

Java EE 726 active projects, active

and transparent mailing lists

Page 39: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.44

Building More Community with Adopt-a-JSRHave Your JUG Adopt!

http://glassfish.org/adoptajsr

Page 40: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.45

And Over 9 MILLION Java Developers Globally

Java EE 6 Everywhere

Page 41: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.46

Java EE Past, Present, & Future

May 1998

Enterprise

Java Platform

Dec 1999

10 specs

Robustness

Sep 20110

13 specs

Web Services

Nov 2003

20 specs

Ease of

Development

May 2006

23 specs

Lightweight

Dec 2009

28 specs

Productivity

& HTML5

Q2 2013

32+ specs

JPE

Project

J2EE 1.3

CMP,

Connector

Architecture

Java EE 5

Ease of

Development,

Annotations,

EJB 3.0, JPA,

JSF, Updated

Web Services

J2EE 1.4Web

Services

Mgmt,

Deployment,

Async

Connector

Java EE 6

Pruning,

Extensibility

Ease of Dev,

CDI, JAX-RS

Web Profile

Servlet 3.0,

EJB 3.1 Lite

Java EE 7

JMS 2.0,

Batch, TX

Interceptors,

Concurrency

HTML5:

WebSocket,

JSON

Web Profile

JAX-RS 2.0

J2EE 1.2Servlet, JSP,

EJB, JMS

RMI/IIOP

Page 42: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.47

Java EE 7

Concurrency

Batch

Applications

JSON API

WebSocket

JMS 2.0

JAX-RS 2.0

EL 3.0

Expanded CDI

& REST Support

Broad Industry

Participation

Build on EE 6

Momentum

Java EE 7 – Design Objectives

Page 43: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.48

EJB 3.2

Servlet 3.1

CDI

Extensions

Bea

n V

ali

da

tio

n 1

.1

Batch 1.0

Web

Fragments

Java EE 7 JSRs

JCA 1.7JMS 2.0JPA 2.1

Managed Beans 1.0

Concurrency 1.0Common

Annotations 1.1

Interceptors

1.2, JTA 1.2CDI 1.1

JSF 2.2,

JSP 2.3,

EL 3.0

JAX-RS 2.0,

JAX-WS 2.2JSON 1.0

WebSocket

1.0

Page 44: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.49

Java EE 7 for 2013

• Scale to build dynamic HTML 5 Apps

– WebSockets, JSON, Servlet 3.1 NIO, Server Sent Events, REST

@ServerEndpoint("/echo")

public class EchoBean {

@OnMessage

public String echo(String message) {

return message;

}

}

• Continued Productivity Focus – More API pruning, built on Java SE 7,

broader uptake of Dependency Injection

– Concurrency and Batch

Page 45: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.50

Java EE DemonstrationArun Gupta

Java Technology Ambassador

@arungupta

Page 46: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.51

And There Is More – Java EE Next StepsCloud, Thin Server Architecture, NoSQL and More!

Java EE

Next Steps

PaaS

Enablement

Multi-

TenancyNoSQL

JSON-B

StateManagement

Thin Server

Architecture

Concurrency

Storage

Page 47: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.52

4.0

Java EE 7 – Try the Latest Builds!

http://download.java.net/glassfish/4.0/promoted

Page 48: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.53

Learn More - Attend the Java EE 7 Launch!

• June 13, 2013, 1:00 PM JPT

• Special Guests

– Hasan Rizvi, Executive Vice

President, Oracle

– Cameron Purdy, Vice President

Development, Oracle

– Anil Gaur, Vice President

Development, Oracle

• With live Q&A!

Page 49: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.58

Java Community“You make the future Java”Sharat Chander

Group Director – Java Technology Outreach

@sharat_chander

Page 50: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.59

Page 51: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.60

“You make the future Java”

• Join OTN: http://oracle.com/otn

• Java YouTube channel: http://youtube.com/java

• Java Magazine: http://www.oracle.com/javamagazine

• Java Newsletter: http://www.oracle.com/subscribe

• Java Developer Days: http://events.oracle.com

Continue to Learn

Page 52: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.61

“You make the future Java”

• Join/Create a JUG: http://java.net/jugs

• Participate in the JCP: http://jcp.org

• Adopt a JSR: http://adoptajsr.java.net

• Join Java on Facebook: http://facebook.com/ilovejava

• Follow Java on Twitter: http://twitter.com/java

Get Involved

Page 53: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.62

New Executive Committee Additions to the JCP

Cinterion

Credit Suisse

Fujitsu

(Hiroshi Yoshida)

HP

CloudBees

London Java Community

http://jcp.org

Page 54: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.63

Java User Groups

https://home.java.net/jugs/java-user-groups

Page 55: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.64

Japan Java User Group“Getting Involved in the Java Community”

Yusuke Suzuki

Japan JUG Leader

@yusuke_arclamp

Page 56: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.65

デベロッパーとして成長しよう!

– 最新情報が得られる場所

– Javaについて詳しい人と話せる場所

– 悩みを共有したら解決のきっかけが得られるかも

なぜコミュニティが重要か

Page 57: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.66

会員:2054名(2013年5月現在)

主な活動

– クロスコミュニティカンファレンス:年2回の1日イベント

– ナイトセミナー:月1回の夜2時間イベント

– 週末ハンズオン:週末半~1日のハンズオン(計画中)

– 地方への講師派遣

– 国際会議への参加

今年の方針

– Java SE 8/EE 7

– 地方JUGやJava関連UGとの連携強化

日本Javaユーザーグループ(JJUG)

Page 58: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.67

毎月第4水曜日@ORACLE青山

2時間(19:00 - 21:00)

– Lambdaハンズオン

– スタックマシンとしてのJava VM

– Javaだけじゃない入門Jenkins

– イマドキの現場で使えるJavaライブラリ事情

– 入門 Javaコアテクノロジー(初心者向け)

– HTML5 ♡ Java

– Java基礎講座(初心者向け)

– Javaで作られたOSS製品

– …

ナイトセミナー

Page 59: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.68

9:30 - 22:00 @ベルサール西新宿

19セッション+懇親会

– Java FX、Java EE 7、 Project

Lambda、 Type Annotation、JVM

– Java読書会ライブ

– ニコニコAndroid開発

– 失敗から学ぶAPI設計

– 地方における勉強会事情

– ...

参加者:280名(懇親会:53名)

次回は秋!

JJUG CCC Spring 2013

Page 60: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.69

メーリングリスト

Twitter: @JJUG

サイト: http://www.java-users.jp

情報の入手方法

Page 61: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.70

1. JJUGのホームページに行くhttp://www.java-users.jp

2. 右上の「JJUGについて」から「入会案内」をクリック

3. 「会員登録ページ」をクリック

4. メールアドレスを登録!

参加の方法

Page 62: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.71

まだ参加していない人は

– まずはMLから

– イベントにも遊びに来てください

すでに参加している人は…

– 講演者になろう

– 幹事会に参加しよう

企業の方へ

– イベントを支援してJavaエンジニアにアピールしてください

参加をお待ちしています

Page 63: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.72

Global JavaOne Events

San Francisco, USASeptember 22 – 26, 2013

Sao Paulo, BrazilDecember 2013

Shanghai, ChinaJuly 23 – 25, 2013

Calendar Year 2013

http://oracle.com/javaone

Page 64: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.73

Page 65: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.74

Page 66: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.75

JavaFX 3D in 7 Minutes

Jim Weaver

Java Technology Ambassador

Oracle Corporation

@JavaFXpert

[email protected]

Page 67: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.76

JavaFX 3D in 7 Minutes

Page 68: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.77

JavaFX 3D Use Cases

■ Inventory and Process

Visualization

■ Scientific and Engineering

Visualization

■ 3D Charting

■ Mechanical CAD and CAE

■ Medical Imaging

77

■ Product Marketing

■ Architectural Design and

Walkthroughs

■ Advanced User Experience

■ Mission Planning

■ Training

■ Entertainment

Page 69: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.78

JavaFX 3D Use Cases

■ Inventory and Process

Visualization

■ Scientific and Engineering

Visualization

■ 3D Charting

■ Mechanical CAD and CAE

■ Medical Imaging

78

■ Product Marketing

■ Architectural Design and

Walkthroughs

■ Advanced User Experience

■ Mission Planning

■ Training

■ Entertainment

Page 70: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.79

Inventory and Process Visualization Example

79

Page 71: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.80

3D Model of the Cranes

80

Page 72: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.81

“JavaFX 3D gives you the ability to use 3D geometry, cameras, and lights in JavaFX.”

Page 73: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.82

3D Geometry, Cameras and Lights

(fundamental elements of JavaFX 3D)

Page 74: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.83

Mesh Geometry (3D Shapes)

■ Predefined shapes

■ Box

■ Cylinder

■ Sphere

■ User-defined shapes

■ Using TriangleMesh / MeshView

83

Page 75: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.84 84

Creating Primitive Shapes and Materials

Page 76: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.85

3D Materials and Textures

■ PhongMaterial has these properties

■ Ambient color

■ Diffuse color, diffuse map

■ Specular color, specular map

■ Specular power

■ Bump map

■ Self-illumination map

85

https://wikis.oracle.com/display/OpenJDK/3D+Features

Page 77: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.86

Duke’s nose has a Diffuse Map texture

86

Page 78: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.87

This planet has a Bump Map texture

87

Page 79: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.88

UV Mapping Textures to Shapes

88

Tip: A texture is a 2D image to be mapped on a 3D surface

Source: http://en.wikipedia.org/wiki/File:UVMapping.png

Page 80: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.89

Placing a Texture on a Sphere

89

Page 81: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.90

Placing a Texture on a Sphere

90

Page 82: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.91

3D Lights

■ Lights are nodes in the scene graph

■ PointLight

■ AmbientLight

■ Default light provided if no active lights

91

Page 83: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.92 92

Lights, Camera, Action!

Page 84: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.93

Playing with JavaFX 3D

Page 85: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.94 94

Start Here: http://javafxcommunity.com

Page 86: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.95 95

Download JDK 8 Early Access Releasehttp://jdk8.java.net

Page 87: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.96 96

When should you download JDK 8 EA ???

イッ ヤルカ ?

Page 88: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.97 97

When should you download JDK 8 EA ???

今でしょ

Page 89: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.98 98

When should you download JDK 8 EA ???

今でしょ (^_^)

Page 90: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.99

Jim Weaver

Java Technology Ambassador

Oracle Corporation

@JavaFXpert

[email protected]

JavaFX 3D in 7 Minutes

Page 91: 1 Copyright © 2012, Oracle and/or its affiliates. All ...otndnld.oracle.co.jp/ondemand/javaday/L-1.pdf · x86 Architecture/ Windows OS Standards Based Hardware & Software Proprietary

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.100