SlideShare a Scribd company logo
JavaOne 2014 Java EE 8 Booth Slides
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
Java 
EE 
8
Safe 
Harbor 
Statement 
The 
following 
is 
intended 
to 
outline 
our 
general 
product 
direcJon. 
It 
is 
intended 
for 
informaJon 
purposes 
only, 
and 
may 
not 
be 
incorporated 
into 
any 
contract. 
It 
is 
not 
a 
commitment 
to 
deliver 
any 
material, 
code, 
or 
funcJonality, 
and 
should 
not 
be 
relied 
upon 
in 
making 
purchasing 
decisions. 
The 
development, 
release, 
and 
Jming 
of 
any 
features 
or 
funcJonality 
described 
for 
Oracle’s 
products 
remains 
at 
the 
sole 
discreJon 
of 
Oracle. 
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
3
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
Java 
EE 
8 
Themes 
• HTML5 
/ 
Web 
Tier 
Enhancements 
• Ease 
of 
Development 
/ 
CDI 
alignment 
• Infrastructure 
for 
running 
in 
the 
Cloud 
• Driven 
by 
Community 
Feedback 
4 
JSR 
366
Community 
PrioriJzed 
Features 
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
5
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
CDI 
2.0 
• Events 
– Asynchronous 
events 
– Event 
ordering 
– Event 
Range 
(war, 
ear, 
server, 
cluster) 
• Interceptor 
/ 
Decorator 
(AOP) 
– Support 
AOP 
on 
custom 
or 
produced 
bean 
– Support 
AOP 
on 
inner 
calls 
(AOP 
enable 
when 
a 
method 
is 
called 
in 
same 
class) 
6 
JSR 
365 
• SPI 
enhancement 
– Beer 
access 
to 
CDI 
meta 
data 
– Contexts 
enhancement 
for 
3rd 
party 
Spec
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
CDI 
2.0 
(cont.) 
• Parts 
(“sub-­‐spec 
with 
sub-­‐impl.”) 
– CDI 
Light 
(simple 
IoC 
soluJon) 
– Event 
• Java 
SE 
support 
– Boot 
CDI 
from 
Java 
SE 
– Add 
SPI 
to 
easily 
integrate 
CDI 
in 
custom 
stack 
(i.e 
plug 
transacJon 
manager) 
7 
JSR 
365
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
JSON-­‐B 
1.0 
• ConverJng 
Java 
objects 
to 
& 
from 
JSON 
• Supports 
for 
different 
providers 
– Leverages 
mature 
JSON 
Binding 
frameworks 
– With 
a 
standard 
API 
• Mapping 
– Default 
+ 
customized 
8 
JSR 
367
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
JMS 
2.1 
• New 
API 
to 
receive 
messages 
asynchronously 
– In 
Java 
SE, 
remove 
need 
to 
implement 
MessageListener 
– In 
Java 
EE, 
a 
simpler 
and 
more 
flexible 
alternaJve 
to 
JMS 
MDBs 
• Simpler, 
JMS-­‐specific 
annotaJons 
that 
allow 
any 
managed 
bean 
to 
listen 
for 
JMS 
messages 
• No 
need 
to 
implement 
MessageListener 
• No 
need 
to 
be 
restricted 
to 
MDB 
lifecycle 
9 
JSR 
368 
@RequestScoped 
public 
class 
MyListenerComponent 
{ 
@JMSListener(destinationLookup="myQueue") 
@Transactional 
public 
void 
myCallback(Message 
message) 
{ 
... 
... 
} 
}
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
JMS 
2.1 
(cont.) 
• Completes 
ease-­‐of-­‐use 
improvements 
started 
in 
JMS 
2.0 
• Improved 
portability 
of 
JMS 
providers 
between 
ApplicaJon 
Servers 
• Further 
clarify 
behavior 
of 
JMS 
in 
a 
Java 
EE 
applicaJons 
• CorrecJons 
and 
improvements 
to 
new 
JMS 
2.0 
features 
• Extend 
specificaJon 
to 
cover 
redelivery 
loops 
and 
dead 
message 
queues 
• Other 
features 
proposed 
by 
the 
community 
and 
the 
Experts 
Group 
10 
JSR 
368
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
Servlet 
4.0 
• Request/response 
mulJplexing 
– Servlet 
Request 
as 
HTTP/2 
message 
• Stream 
prioriJzaJon 
– Add 
stream 
priority 
to 
HpServletRequest 
• Server 
push 
• Binary 
framing 
– Hidden 
from 
API 
• Upgrade 
from 
HTTP 
1.1 
11 
JSR 
369
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
Servlet 
4.0 
• Servlet 
4.0 
is 
important 
because 
HTTP 
2.0 
is 
important 
• HTTP 
2.0 
compliance 
– Server 
Push 
– Stream 
Priority 
– Upgrade 
from 
HTTP 
1.1 
• Compliance 
with 
latest 
HTTP 
1.1 
RFCs 
7230 
– 
7235 
– IETF 
PRECIS 
framework 
for 
secure 
Unicode 
– Numerous 
small 
compliance 
issues 
12 
JSR 
369
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
JAX-­‐RS 
2.1 
• ConJnued 
evoluJon 
of 
JAX-­‐RS 
API 
– All 
simple 
problems 
have 
already 
been 
solved… 
• Performance 
– ReacJve 
Programming 
Model 
– Java 
SE 
8 
Streams 
– Non-­‐blocking 
I/O 
13 
JSR 
370
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
JAX-­‐RS 
2.1 
(cont.) 
• Java 
EE 
Alignment 
– CDI 
Alignment 
– DeclaraJve 
Security 
Model 
– MVC 
1.0 
IntegraJon 
– JSONB 
1.0 
IntegraJon 
• Filling 
the 
Gaps 
– Server-­‐Sent 
Events 
– Improved 
Hypermedia 
Support 
– CORS 
14 
JSR 
370
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
MVC 
1.0 
• AcJon-­‐based 
Model-­‐View-­‐Controller 
architecture 
• Glues 
together 
key 
Java 
EE 
technologies: 
– Model 
• CDI, 
Bean 
ValidaJon, 
JPA 
– View 
• Facelets, 
JSP 
– Controller 
• Invent 
new 
technology? 
• Leverage 
exisJng 
technologies 
such 
as 
JAX-­‐RS, 
... 
? 
JSR 
371 
15
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
JSF 
2.3 
JSR 
372 
• SpecificaJon 
clarificaJons 
• CDI 
alignment 
– Ease 
of 
use 
e.g. 
@Inject 
– Removal 
of 
old 
injecJon 
provider 
• Performance 
enhancements 
– Caching 
EL 
expressions 
were 
possible 
• Use 
Java 
SE 
8 
where 
possible 
16
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
JSF 
2.3 
(cont.) 
JSR 
372 
• MVC 
alignment 
• Shepherd 
EG 
driven 
features 
into 
spec 
– JSON 
ajax 
component 
rendering 
– State 
saving 
enhancements 
– Stateless 
enhancements 
– GET 
enhancements 
– … 
17
Java 
EE 
Management 
API 
2.0 
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
• Update 
of 
JSR 
77 
• Define 
RESTful 
API 
for 
Java 
EE 
management 
– Incorporate 
all 
exisJng 
JSR 
77 
managed 
beans 
– Define 
event 
model 
using 
Server 
Sent 
Events 
– ConsideraJon 
will 
be 
given 
to 
mark 
the 
exisJng 
MEJB 
API 
as 
Proposed 
OpJonal 
• Define 
RESTful 
API 
for 
applicaJon 
deployment 
– Focus 
on 
simple 
cases 
first 
– Deployment 
support 
integrated 
to 
same 
API 
with 
other 
Java 
EE 
management 
JSR 
TBD 
18
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
JSON-­‐P 
1.1 
• Support 
for 
JSON 
standards 
– JSON 
Pointer 
(RFC 
6901) 
and 
JSON 
Patch 
(RFC 
6902) 
• Support 
for 
ediJng/transformaJon 
on 
JsonArray 
and 
JsonObject 
– Add 
API 
for 
the 
current 
builders 
• Support 
JSON 
query 
in 
JavaSE 
8 
– Add 
helper 
classes 
and 
methods 
to 
construct 
Collectors 
• Support 
for 
bing 
JSON 
data 
– Add 
API 
in 
JsonParser 
to 
construct 
JsonValues 
– Generate 
Java 
streams 
(high 
and 
low 
level) 
JSR 
TBD 
19
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
Java 
EE 
Security 
1.0 
JSR 
TBD 
• Candidate 
Areas 
to 
Enhance 
Portability, 
Flexibility, 
Ease-­‐of-­‐Use 
– Password 
Aliasing 
– User 
Management 
– Role 
Mapping 
– AuthenJcaJon 
– REST 
AuthenJcaJon 
– AuthorizaJon 
20
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
Java 
EE 
Security 
1.0 
JSR 
TBD 
• AuthorizaIon 
via 
CDI 
Interceptors 
@IsAuthorized("hasRoles('Manager') 
&& 
schedule.officeHrs") 
void 
transferFunds() 
@IsAuthorized("hasRoles('Manager') 
&& 
hasAttribute('directReports', 
employee.id)") 
double 
getSalary(long 
employeeId); 
@IsAuthorized(ruleSourceName="java:app/payrollAuthRules", 
rule="report") 
void 
displayReport(); 
21
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
Java 
EE 
8 
JSRs 
• Java 
EE 
8 
Platorm 
• CDI 
2.0 
• JSON 
Binding 
1.0 
• JAX-­‐RS 
2.1 
• MVC 
1.0 
• Java 
Servlet 
4.0 
• JSF 
2.3 
• JMS 
2.1 
22 
As 
of 
today 
Coming 
soon… 
• JSON-­‐P 
1.1 
• Java 
EE 
Security 
1.0 
• Java 
EE 
Management 
2.0 
• JCache 
1.1 
• And 
more 
to 
follow…
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
And 
more 
to 
follow… 
• EL 
• Concurrency 
UJliJes 
• Connector 
Architecture 
• WebSocket 
• Interceptors 
• JPA 
23 
• EJB 
• JTA 
• Batch 
• JavaMail 
• …
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
Transparency 
• Our 
Java 
EE 
8 
JSRs 
run 
in 
the 
open 
on 
java.net 
– hp://javaee-­‐spec.java.net 
– One 
project 
per 
JSR 
– 
jax-­‐rs-­‐spec, 
mvc-­‐spec, 
servlet-­‐spec,... 
• Publically 
viewable 
Expert 
Group 
mail 
archive 
– Users 
observer 
lists 
gets 
all 
copies 
• Publicly 
accessible 
issue 
tracker 
/ 
JIRA 
• Publicly 
accessible 
download 
area 
• … 
24 
Commitment 
to 
JCP 
transparent 
processes
Proposed Final Draft 
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
25 
Java 
EE 
Roadmap 
Public Review Drafts 
JSR Submissions 
Java EE 8 Final 
Early Draft Specifications 
Java EE 8 Planning 
06/2014 01/2015 01/2015 01/2016 09/2017
Java 
EE 
8 
New 
JSRs 
New 
OpportuniJes 
Get Involved! 
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
ConJnue 
to 
parJcipate 
26 
Java 
EE 
7 
14 
adopted 
JSRs 
19 
Java 
User 
Groups 
Thank You! 
ParDcipate 
with 
us! 
hIp://glassfish.org/contribute
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
GlassFish 
Server
GlassFish 
Server 
Open 
Source 
EdiJon 
4.1 
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
28 
Updated 
PlaSorm 
Support 
• 
Java 
8 
• 
CDI 
1.2 
• 
WebSocket 
1.1 
Jersey 
(JAX-­‐RS) 
• 
New 
diagnosJcs 
API 
• 
SSE 
client 
reconnect 
Tyrus 
(WebSocket) 
• 
Session 
limits 
• 
Proxy 
support 
• 
Client 
reconnect 
Stability 
and 
Quality 
• 
Feature 
enhancements 
• 
1000+ 
bugs 
fixes 
And 
More 
… 
• 
Updated 
Java 
EE 
7 
SDK 
• 
JMS 
over 
WebSockets
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
Meet 
the 
Experts
Meet 
the 
Experts 
– 
Monday 
Sept. 
29 
Schedule 
Expert(s) 
Technology 
10-­‐11 
AM 
Bruno 
Borges 
Adopt-­‐a-­‐JSR 
for 
Java 
EE 
8, 
any 
Java 
EE 
8 
technology 
11 
– 
12 
PM 
MarJn 
Grebac 
JSON-­‐B 
12 
-­‐ 
1 
PM 
Kin-­‐man 
Chung 
JSON-­‐P 
and 
EL 
1 
-­‐ 
2 
PM 
Marek 
Potociar 
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
Pavel 
Bucek 
JAX-­‐RS 
WebSocket 
(JSR 
356) 
2 
-­‐ 
3 
PM 
Linda 
DeMichiel 
Java 
EE 
8 
4 
-­‐ 
5 
PM 
Reza 
Rahman 
Adopt-­‐a-­‐JSR 
for 
Java 
EE 
8, 
any 
Java 
EE 
8 
technology 
30
Meet 
the 
Experts 
– 
Tuesday 
Sept. 
30 
Schedule 
Expert(s) 
Technology 
10-­‐11 
AM 
Heather 
VanCura 
JCP/JCP.Next 
(JSR 
364), 
Adopt-­‐a-­‐JSR 
11 
– 
12 
PM 
MarJn 
Mares 
Java 
EE 
Management 
12 
-­‐ 
1 
PM 
Nigel 
Deakin 
JMS 
1 
-­‐ 
2 
PM 
Reza 
Rahman 
Adopt-­‐a-­‐JSR 
for 
Java 
EE 
8, 
any 
Java 
EE 
8 
technology 
2 
-­‐ 
3 
PM 
Ed 
Burns, 
Shing 
Wai 
Chan 
JSF 
2.3 
and 
Servlets 
4.0 
4 
-­‐ 
5 
PM 
Marek 
Potociar 
JAX-­‐RS 
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
31
Meet 
the 
Experts 
-­‐ 
Wednesday 
Oct. 
1 
Schedule 
Expert(s) 
Technology 
10-­‐11 
AM 
Antoine 
Sabot-­‐Durand 
CDI 
11 
– 
12 
PM 
Antoine 
Sabot-­‐Durand 
CDI 
12 
-­‐ 
1 
PM 
Brian 
Oliver 
Jcache 
1 
-­‐ 
2 
PM 
David 
Delabassee 
Adopt-­‐a-­‐JSR 
for 
Java 
EE 
8, 
any 
Java 
EE 
8 
technology 
2 
-­‐ 
3 
PM 
Manfred 
Riem 
MVC 
1.0 
and 
JSF 
2.3 
Copyright 
© 
2014, 
Oracle 
and/or 
its 
affiliates. 
All 
rights 
reserved. 
| 
32

More Related Content

PDF
JavaOne2015報告会 in Okinawa
PDF
Java EE 7 for WebLogic 12c Developers
DOCX
Aneez Hasan_Resume
PDF
Microservices and Container
PDF
What's New and Noteworthy on Oracle CAF 12.1.3
PDF
JDK 10 Java Module System
PDF
JDK 8 and JDK 8 Updates in OpenJDK
PDF
Experiences in building a PaaS Platform - Java One SFO 2012
JavaOne2015報告会 in Okinawa
Java EE 7 for WebLogic 12c Developers
Aneez Hasan_Resume
Microservices and Container
What's New and Noteworthy on Oracle CAF 12.1.3
JDK 10 Java Module System
JDK 8 and JDK 8 Updates in OpenJDK
Experiences in building a PaaS Platform - Java One SFO 2012

What's hot (20)

PPTX
Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, O...
PPT
Oracle ExaLogic Overview
PPTX
Java EE for the Cloud
PPT
WebLogic 12c - OMF Canberra June 2014
PPTX
Oracle WebLogic Server 12.2.1 Do More with Less
PDF
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
PPTX
Modularization With Project Jigsaw in JDK 9
PDF
Talk IT_ Oracle_정병선_110928
PPTX
Managing Oracle Solaris Systems with Puppet
PDF
Oracle Solaris Application-Centric Lifecycle and DevOps
PPTX
HTTP/2 comes to Java. What Servlet 4.0 means to you. DevNexus 2015
PPTX
Presentation oracle exalogic elastic cloud
PDF
Oracle Keynote from JMagghreb 2014
PDF
JDK 9 Java Platform Module System
PPTX
Presentation exalogic elastic cloud
PDF
MySQL User Camp: GTIDs
PDF
Java: Create The Future Keynote
PPTX
Oracle Exalogic Elastic Cloud - Revolutionizing Data Center Consolidation
PPT
Have You Seen Java EE Lately?
PDF
WebSockets in Enterprise Applications
Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, O...
Oracle ExaLogic Overview
Java EE for the Cloud
WebLogic 12c - OMF Canberra June 2014
Oracle WebLogic Server 12.2.1 Do More with Less
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
Modularization With Project Jigsaw in JDK 9
Talk IT_ Oracle_정병선_110928
Managing Oracle Solaris Systems with Puppet
Oracle Solaris Application-Centric Lifecycle and DevOps
HTTP/2 comes to Java. What Servlet 4.0 means to you. DevNexus 2015
Presentation oracle exalogic elastic cloud
Oracle Keynote from JMagghreb 2014
JDK 9 Java Platform Module System
Presentation exalogic elastic cloud
MySQL User Camp: GTIDs
Java: Create The Future Keynote
Oracle Exalogic Elastic Cloud - Revolutionizing Data Center Consolidation
Have You Seen Java EE Lately?
WebSockets in Enterprise Applications
Ad

Similar to JavaOne 2014 Java EE 8 Booth Slides (20)

PPTX
Java EE 8
PPTX
Java EE 8 Update
PPT
Java EE7 in action
PPTX
Java EE8 - by Kito Mann
PDF
Java EE 8 Overview (Japanese)
PDF
What’s new in Java SE, EE, ME, Embedded world & new Strategy
PDF
Java EE 8: On the Horizon
PDF
Presente e Futuro: Java EE.next()
PPTX
Java ee 8 + security overview
ODP
OTN Developer Days - Java EE 6
PDF
112815 java ee8_davidd
PDF
JCP & Adopt-a-JSR @ GeeCon CZ
PDF
As Novidades do Java EE 8
PPTX
Java EE 7 - New Features and the WebSocket API
PDF
LJC 2018 - PEAT UK - Java EE - Ah, ah, ah! Staying Alive!
PDF
Building Java Desktop Apps with JavaFX 8 and Java EE 7
PDF
As novidades do Java EE 7: do HTML5 ao JMS 2.0
PDF
Overview of Java EE 6 by Roberto Chinnici at SFJUG
PDF
OTN Tour 2013: What's new in java EE 7
Java EE 8
Java EE 8 Update
Java EE7 in action
Java EE8 - by Kito Mann
Java EE 8 Overview (Japanese)
What’s new in Java SE, EE, ME, Embedded world & new Strategy
Java EE 8: On the Horizon
Presente e Futuro: Java EE.next()
Java ee 8 + security overview
OTN Developer Days - Java EE 6
112815 java ee8_davidd
JCP & Adopt-a-JSR @ GeeCon CZ
As Novidades do Java EE 8
Java EE 7 - New Features and the WebSocket API
LJC 2018 - PEAT UK - Java EE - Ah, ah, ah! Staying Alive!
Building Java Desktop Apps with JavaFX 8 and Java EE 7
As novidades do Java EE 7: do HTML5 ao JMS 2.0
Overview of Java EE 6 by Roberto Chinnici at SFJUG
OTN Tour 2013: What's new in java EE 7
Ad

More from Edward Burns (20)

PDF
Jakarta EE 11: What's New and Why You Should Care
PDF
Java and AI with LangChain4j: Jakarta EE gets AI
PDF
Java and AI with LangChain4j: Jakarta EE and AI
PDF
20250403-trusted-ai-favorite-ide-javaland.pdf
PDF
A survey of cloud readiness for Jakarta EE 11
PDF
Java and AI with LangChain4j: Jakarta EE and SmallRye LLM
PDF
Java and AI with LangChain4j: Integrating Jakarta EE and LLMs
PDF
How to get trusted AI in your favorite IDE
PDF
How to get trusted AI in your favorite IDE
PDF
How to get trusted AI in your favorite IDE
PDF
How to get trusted AI in your favorite IDE
PPTX
2024-09-10 Jacksonville JUG Java on Azure with AI
PPTX
Deliver AI infused app innovation with Open Liberty on AKS
PPTX
DevTalks Romania: Prepare for Jakarta EE 11
PDF
Developer Career Masterplan
PPTX
Jakarta EE 11 Status Update​
PDF
Sponsored Session: Please touch that dial!
PDF
How modernizing enterprise applications gives you a competitive advantage
PDF
Wie Azure Jakarta EE Nutzt
PDF
Practical lessons from customers performing digital transformation with Azure
Jakarta EE 11: What's New and Why You Should Care
Java and AI with LangChain4j: Jakarta EE gets AI
Java and AI with LangChain4j: Jakarta EE and AI
20250403-trusted-ai-favorite-ide-javaland.pdf
A survey of cloud readiness for Jakarta EE 11
Java and AI with LangChain4j: Jakarta EE and SmallRye LLM
Java and AI with LangChain4j: Integrating Jakarta EE and LLMs
How to get trusted AI in your favorite IDE
How to get trusted AI in your favorite IDE
How to get trusted AI in your favorite IDE
How to get trusted AI in your favorite IDE
2024-09-10 Jacksonville JUG Java on Azure with AI
Deliver AI infused app innovation with Open Liberty on AKS
DevTalks Romania: Prepare for Jakarta EE 11
Developer Career Masterplan
Jakarta EE 11 Status Update​
Sponsored Session: Please touch that dial!
How modernizing enterprise applications gives you a competitive advantage
Wie Azure Jakarta EE Nutzt
Practical lessons from customers performing digital transformation with Azure

Recently uploaded (20)

PDF
System and Network Administration Chapter 2
PPTX
Essential Infomation Tech presentation.pptx
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
AI in Product Development-omnex systems
PDF
Digital Strategies for Manufacturing Companies
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
System and Network Administraation Chapter 3
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
System and Network Administration Chapter 2
Essential Infomation Tech presentation.pptx
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PTS Company Brochure 2025 (1).pdf.......
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
VVF-Customer-Presentation2025-Ver1.9.pptx
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Upgrade and Innovation Strategies for SAP ERP Customers
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
How Creative Agencies Leverage Project Management Software.pdf
AI in Product Development-omnex systems
Digital Strategies for Manufacturing Companies
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
How to Choose the Right IT Partner for Your Business in Malaysia
wealthsignaloriginal-com-DS-text-... (1).pdf
System and Network Administraation Chapter 3
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf

JavaOne 2014 Java EE 8 Booth Slides

  • 2. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Java EE 8
  • 3. Safe Harbor Statement The following is intended to outline our general product direcJon. It is intended for informaJon purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or funcJonality, and should not be relied upon in making purchasing decisions. The development, release, and Jming of any features or funcJonality described for Oracle’s products remains at the sole discreJon of Oracle. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 3
  • 4. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Java EE 8 Themes • HTML5 / Web Tier Enhancements • Ease of Development / CDI alignment • Infrastructure for running in the Cloud • Driven by Community Feedback 4 JSR 366
  • 5. Community PrioriJzed Features Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 5
  • 6. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | CDI 2.0 • Events – Asynchronous events – Event ordering – Event Range (war, ear, server, cluster) • Interceptor / Decorator (AOP) – Support AOP on custom or produced bean – Support AOP on inner calls (AOP enable when a method is called in same class) 6 JSR 365 • SPI enhancement – Beer access to CDI meta data – Contexts enhancement for 3rd party Spec
  • 7. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | CDI 2.0 (cont.) • Parts (“sub-­‐spec with sub-­‐impl.”) – CDI Light (simple IoC soluJon) – Event • Java SE support – Boot CDI from Java SE – Add SPI to easily integrate CDI in custom stack (i.e plug transacJon manager) 7 JSR 365
  • 8. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | JSON-­‐B 1.0 • ConverJng Java objects to & from JSON • Supports for different providers – Leverages mature JSON Binding frameworks – With a standard API • Mapping – Default + customized 8 JSR 367
  • 9. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | JMS 2.1 • New API to receive messages asynchronously – In Java SE, remove need to implement MessageListener – In Java EE, a simpler and more flexible alternaJve to JMS MDBs • Simpler, JMS-­‐specific annotaJons that allow any managed bean to listen for JMS messages • No need to implement MessageListener • No need to be restricted to MDB lifecycle 9 JSR 368 @RequestScoped public class MyListenerComponent { @JMSListener(destinationLookup="myQueue") @Transactional public void myCallback(Message message) { ... ... } }
  • 10. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | JMS 2.1 (cont.) • Completes ease-­‐of-­‐use improvements started in JMS 2.0 • Improved portability of JMS providers between ApplicaJon Servers • Further clarify behavior of JMS in a Java EE applicaJons • CorrecJons and improvements to new JMS 2.0 features • Extend specificaJon to cover redelivery loops and dead message queues • Other features proposed by the community and the Experts Group 10 JSR 368
  • 11. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Servlet 4.0 • Request/response mulJplexing – Servlet Request as HTTP/2 message • Stream prioriJzaJon – Add stream priority to HpServletRequest • Server push • Binary framing – Hidden from API • Upgrade from HTTP 1.1 11 JSR 369
  • 12. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Servlet 4.0 • Servlet 4.0 is important because HTTP 2.0 is important • HTTP 2.0 compliance – Server Push – Stream Priority – Upgrade from HTTP 1.1 • Compliance with latest HTTP 1.1 RFCs 7230 – 7235 – IETF PRECIS framework for secure Unicode – Numerous small compliance issues 12 JSR 369
  • 13. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | JAX-­‐RS 2.1 • ConJnued evoluJon of JAX-­‐RS API – All simple problems have already been solved… • Performance – ReacJve Programming Model – Java SE 8 Streams – Non-­‐blocking I/O 13 JSR 370
  • 14. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | JAX-­‐RS 2.1 (cont.) • Java EE Alignment – CDI Alignment – DeclaraJve Security Model – MVC 1.0 IntegraJon – JSONB 1.0 IntegraJon • Filling the Gaps – Server-­‐Sent Events – Improved Hypermedia Support – CORS 14 JSR 370
  • 15. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | MVC 1.0 • AcJon-­‐based Model-­‐View-­‐Controller architecture • Glues together key Java EE technologies: – Model • CDI, Bean ValidaJon, JPA – View • Facelets, JSP – Controller • Invent new technology? • Leverage exisJng technologies such as JAX-­‐RS, ... ? JSR 371 15
  • 16. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | JSF 2.3 JSR 372 • SpecificaJon clarificaJons • CDI alignment – Ease of use e.g. @Inject – Removal of old injecJon provider • Performance enhancements – Caching EL expressions were possible • Use Java SE 8 where possible 16
  • 17. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | JSF 2.3 (cont.) JSR 372 • MVC alignment • Shepherd EG driven features into spec – JSON ajax component rendering – State saving enhancements – Stateless enhancements – GET enhancements – … 17
  • 18. Java EE Management API 2.0 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | • Update of JSR 77 • Define RESTful API for Java EE management – Incorporate all exisJng JSR 77 managed beans – Define event model using Server Sent Events – ConsideraJon will be given to mark the exisJng MEJB API as Proposed OpJonal • Define RESTful API for applicaJon deployment – Focus on simple cases first – Deployment support integrated to same API with other Java EE management JSR TBD 18
  • 19. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | JSON-­‐P 1.1 • Support for JSON standards – JSON Pointer (RFC 6901) and JSON Patch (RFC 6902) • Support for ediJng/transformaJon on JsonArray and JsonObject – Add API for the current builders • Support JSON query in JavaSE 8 – Add helper classes and methods to construct Collectors • Support for bing JSON data – Add API in JsonParser to construct JsonValues – Generate Java streams (high and low level) JSR TBD 19
  • 20. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Java EE Security 1.0 JSR TBD • Candidate Areas to Enhance Portability, Flexibility, Ease-­‐of-­‐Use – Password Aliasing – User Management – Role Mapping – AuthenJcaJon – REST AuthenJcaJon – AuthorizaJon 20
  • 21. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Java EE Security 1.0 JSR TBD • AuthorizaIon via CDI Interceptors @IsAuthorized("hasRoles('Manager') && schedule.officeHrs") void transferFunds() @IsAuthorized("hasRoles('Manager') && hasAttribute('directReports', employee.id)") double getSalary(long employeeId); @IsAuthorized(ruleSourceName="java:app/payrollAuthRules", rule="report") void displayReport(); 21
  • 22. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Java EE 8 JSRs • Java EE 8 Platorm • CDI 2.0 • JSON Binding 1.0 • JAX-­‐RS 2.1 • MVC 1.0 • Java Servlet 4.0 • JSF 2.3 • JMS 2.1 22 As of today Coming soon… • JSON-­‐P 1.1 • Java EE Security 1.0 • Java EE Management 2.0 • JCache 1.1 • And more to follow…
  • 23. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | And more to follow… • EL • Concurrency UJliJes • Connector Architecture • WebSocket • Interceptors • JPA 23 • EJB • JTA • Batch • JavaMail • …
  • 24. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Transparency • Our Java EE 8 JSRs run in the open on java.net – hp://javaee-­‐spec.java.net – One project per JSR – jax-­‐rs-­‐spec, mvc-­‐spec, servlet-­‐spec,... • Publically viewable Expert Group mail archive – Users observer lists gets all copies • Publicly accessible issue tracker / JIRA • Publicly accessible download area • … 24 Commitment to JCP transparent processes
  • 25. Proposed Final Draft Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 25 Java EE Roadmap Public Review Drafts JSR Submissions Java EE 8 Final Early Draft Specifications Java EE 8 Planning 06/2014 01/2015 01/2015 01/2016 09/2017
  • 26. Java EE 8 New JSRs New OpportuniJes Get Involved! Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | ConJnue to parJcipate 26 Java EE 7 14 adopted JSRs 19 Java User Groups Thank You! ParDcipate with us! hIp://glassfish.org/contribute
  • 27. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | GlassFish Server
  • 28. GlassFish Server Open Source EdiJon 4.1 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 28 Updated PlaSorm Support • Java 8 • CDI 1.2 • WebSocket 1.1 Jersey (JAX-­‐RS) • New diagnosJcs API • SSE client reconnect Tyrus (WebSocket) • Session limits • Proxy support • Client reconnect Stability and Quality • Feature enhancements • 1000+ bugs fixes And More … • Updated Java EE 7 SDK • JMS over WebSockets
  • 29. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Meet the Experts
  • 30. Meet the Experts – Monday Sept. 29 Schedule Expert(s) Technology 10-­‐11 AM Bruno Borges Adopt-­‐a-­‐JSR for Java EE 8, any Java EE 8 technology 11 – 12 PM MarJn Grebac JSON-­‐B 12 -­‐ 1 PM Kin-­‐man Chung JSON-­‐P and EL 1 -­‐ 2 PM Marek Potociar Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Pavel Bucek JAX-­‐RS WebSocket (JSR 356) 2 -­‐ 3 PM Linda DeMichiel Java EE 8 4 -­‐ 5 PM Reza Rahman Adopt-­‐a-­‐JSR for Java EE 8, any Java EE 8 technology 30
  • 31. Meet the Experts – Tuesday Sept. 30 Schedule Expert(s) Technology 10-­‐11 AM Heather VanCura JCP/JCP.Next (JSR 364), Adopt-­‐a-­‐JSR 11 – 12 PM MarJn Mares Java EE Management 12 -­‐ 1 PM Nigel Deakin JMS 1 -­‐ 2 PM Reza Rahman Adopt-­‐a-­‐JSR for Java EE 8, any Java EE 8 technology 2 -­‐ 3 PM Ed Burns, Shing Wai Chan JSF 2.3 and Servlets 4.0 4 -­‐ 5 PM Marek Potociar JAX-­‐RS Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 31
  • 32. Meet the Experts -­‐ Wednesday Oct. 1 Schedule Expert(s) Technology 10-­‐11 AM Antoine Sabot-­‐Durand CDI 11 – 12 PM Antoine Sabot-­‐Durand CDI 12 -­‐ 1 PM Brian Oliver Jcache 1 -­‐ 2 PM David Delabassee Adopt-­‐a-­‐JSR for Java EE 8, any Java EE 8 technology 2 -­‐ 3 PM Manfred Riem MVC 1.0 and JSF 2.3 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 32