Copyright © 2012, Oracle and/or its affiliates. All rights reserved.1
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.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.3
Java SE StrategySimon Ritter
Java Technology Ambassador
@speakjava
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
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
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
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
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);
});
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…
}
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.14
Project Nashorn
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
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
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
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.18
JavaFX StrategyNandini Ramani
Vice President
Java Client and Embedded Platforms
@eyeseewaters
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
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.20
JavaFX Deployments
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
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
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
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.24
JavaFX 3D DemonstrationJim Weaver
Java Technology Ambassador
@javaFXpert
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.25
Java Embedded Strategy
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
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
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/
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
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/
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/
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
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
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
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
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
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
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
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
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.41
Java EE StrategyCameron Purdy
Vice President
Cloud Application Foundation and Java EE
@cpurdy
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
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
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
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.45
And Over 9 MILLION Java Developers Globally
Java EE 6 Everywhere
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
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
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
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
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.50
Java EE DemonstrationArun Gupta
Java Technology Ambassador
@arungupta
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
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
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!
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
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.59
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
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
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
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.63
Java User Groups
https://home.java.net/jugs/java-user-groups
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
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.65
デベロッパーとして成長しよう!
– 最新情報が得られる場所
– Javaについて詳しい人と話せる場所
– 悩みを共有したら解決のきっかけが得られるかも
なぜコミュニティが重要か
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)
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製品
– …
ナイトセミナー
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
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.69
メーリングリスト
Twitter: @JJUG
サイト: http://www.java-users.jp
情報の入手方法
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.70
1. JJUGのホームページに行くhttp://www.java-users.jp
2. 右上の「JJUGについて」から「入会案内」をクリック
3. 「会員登録ページ」をクリック
4. メールアドレスを登録!
参加の方法
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.71
まだ参加していない人は
– まずはMLから
– イベントにも遊びに来てください
すでに参加している人は…
– 講演者になろう
– 幹事会に参加しよう
企業の方へ
– イベントを支援してJavaエンジニアにアピールしてください
参加をお待ちしています
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
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.73
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.74
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.75
JavaFX 3D in 7 Minutes
Jim Weaver
Java Technology Ambassador
Oracle Corporation
@JavaFXpert
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.76
JavaFX 3D in 7 Minutes
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
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
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.79
Inventory and Process Visualization Example
79
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.80
3D Model of the Cranes
80
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.”
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.82
3D Geometry, Cameras and Lights
(fundamental elements of JavaFX 3D)
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
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.84 84
Creating Primitive Shapes and Materials
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
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.86
Duke’s nose has a Diffuse Map texture
86
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.87
This planet has a Bump Map texture
87
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
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.89
Placing a Texture on a Sphere
89
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.90
Placing a Texture on a Sphere
90
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
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.92 92
Lights, Camera, Action!
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.93
Playing with JavaFX 3D
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.94 94
Start Here: http://javafxcommunity.com
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.95 95
Download JDK 8 Early Access Releasehttp://jdk8.java.net
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.96 96
When should you download JDK 8 EA ???
イッ ヤルカ ?
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.97 97
When should you download JDK 8 EA ???
今でしょ
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.98 98
When should you download JDK 8 EA ???
今でしょ (^_^)
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.99
Jim Weaver
Java Technology Ambassador
Oracle Corporation
@JavaFXpert
JavaFX 3D in 7 Minutes
Copyright © 2012, Oracle and/or its affiliates. All rights reserved.100
Top Related