Upload
arun-gupta
View
953
Download
0
Embed Size (px)
DESCRIPTION
Java EE Technical Keynote - JavaOne India 2011
Citation preview
<Insert Picture Here>
Java EE : The Evolution of a Platform
Arun Gupta, Java EE & GlassFish Guyblogs.oracle.com/arungupta, @arungupta
Friday, May 13, 2011
2
The following 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.
Friday, May 13, 2011
3
Java EE 6 PlatformDecember 10, 2009
Friday, May 13, 2011
The Core Programming Model Explained
4
JPA 2.0 / JTA 1.1
Managed Beans 1.0 EJB 3.1
DI 1.0 / CDI 1.0 / Interceptors 1.1 / JSR 250 1.1Bean
Validation1.0
Servlet 3.0 / EL 2.2
JAX-RS 1.1 JSF 2.0 JSP 2.2JSTL 1.2
Web ContainerExtensions
CDIExtensions
Friday, May 13, 2011
Top 10 Favorite Features in Java EE 6
10. Web Profile09. EJB no interface view08. EJB Timer Service07. EJBContainer API06. JSF standardizing on facelets05. CDI events04. CDI injection (with no Strings involved)03. Optional web.xml02. Servlet and CDI extension points01. EJB packaging in WAR
5
Friday, May 13, 2011
Java EE 6 Sample Application
6
Browser
Database
JPA
JPAJSF EJB/CDI
RESTClient
Jersey ClientAPI
PrimeFaces
Friday, May 13, 2011
Sample tweet :-)
7
#Javaone is the best Java conference in the world. #Oracle rocks!
Friday, May 13, 2011
<Insert Picture Here>
8
Future<Java_EE>
Friday, May 13, 2011
9
Java EE for the Cloud
• Tighter requirements for resource and state management• Better isolation between applications• Potential standard APIs for NRDBMS, caching, other• Common management and monitoring interfaces• Better packaging• Evolution, not revolution
Friday, May 13, 2011
10
Cloud Platform
Application
Virtualization Layer
State Management
JavaService
PersistenceService
QueueingService …
Friday, May 13, 2011
11
Cloud Platform
ApplicationCode
ModuleCode
Module Schema Migration QoS InformationSecurityCode
Module …
Virtualization Layer
State Management
JavaService
PersistenceService
QueueingService …
Friday, May 13, 2011
12
Cloud Platform
Application Application Application
Virtualization Layer
State Management
JavaService
PersistenceService
QueueingService …
Friday, May 13, 2011
13
Cloud Platform
Application Application Application Application Application
Virtualization Layer
State Management
JavaService
PersistenceService
QueueingService …
Friday, May 13, 2011
14
Cloud Platform
Managed Environment
Application Application Application
Virtualization Layer
State Management
JavaService
PersistenceService
QueueingService …
Application Application
Friday, May 13, 2011
15
Modularity
• Build on Java SE 8 work• Applications made of modules• Dependencies are explicit• Versioning is built-in• Classloaders straightened out
Friday, May 13, 2011
16
Modular Applications
j1demo.app
j1demo-web-1.0.3
Friday, May 13, 2011
17
Modular Applications
j1demo.app
requirestwitter-client-2.3.0
j1demo-web-1.0.3j1demo-persist-1.4.0
Friday, May 13, 2011
18
Modular Applications
j1demo.app
javaee-web-7.0
requires
twitter-client-2.3.0
j1demo-persist-1.4.0j1demo-web-1.0.3
Friday, May 13, 2011
19
Modular Applications
j1demo.app
requires
requires
javaee-web-7.0
twitter-client-2.3.0
jax-rs-2.0jpa-2.1
j1demo-web-1.0.3j1demo-persist-1.4.0
Friday, May 13, 2011
20
Modular Applications
j1demo.app
javaee-web-7.0
implements
twitter-client-2.3.0
jax-rs-2.0jpa-2.1
…………
gf-appserver-4.0.1
j1demo-web-1.0.3j1demo-persist-1.4.0
Friday, May 13, 2011
21
Modular Applications
j1demo.app
gf-appserver-4.0.1
implements
eclipselink-2.1.3
jersey-2.0.5
javaee-web-7.0
implements
twitter-client-2.3.0
jax-rs-2.0jpa-2.1
…………
j1demo-web-1.0.3j1demo-persist-1.4.0
Friday, May 13, 2011
22
Modular Applications
j1demo.app
jersey-2.1.1
javaee-web-7.0
twitter-client-2.4.0 jax-rs-2.1
jpa-2.1
…………
gf-appserver-4.0.1eclipselink-2.1.3
j1demo-web-1.0.3
jersey-2.0.5
j1demo-persist-1.4.0
Friday, May 13, 2011
23
Modular Applications
jersey-2.1.5
javaee-web-7.0
twitter-client-2.4.0
jax-rs-2.1jpa-2.1
…………
gf-appserver-4.1.5eclipselink-2.1.3
jersey-2.1.1
jax-rs-2.1j1demo.app
j1demo-web-1.0.3j1demo-persist-1.4.0
Friday, May 13, 2011
Java EE 7 Content (so far)
• Filed and voted !– Java EE 7 (JSR 342)– JPA 2.1 (JSR 338)– JAX-RS 2.0 (JSR 339)– Servlet 3.1 (JSR 340)– JSF 2.2 (JSR 344)– EL 3.0 (JSR 341)– JMS 2.0 (JSR 343)– EJB 3.2 (JSR 345)– CDI 1.1 (JSR 346)
• Other– JCache revived (JSR 107)– Concurrency Utilities (236)– MRs: JSR250, JAX-WS 2.3,
JTA 1.2, JSP 2.3, connectors• Yet to be filed
– Bean Validation 1.1– JSR-330 1.1– JSON 1.0
24
All Oracle-led JSRs as open projects on java.netPublicly viewable, archived expert group mailing list. JIRA, wiki, ...Ex: http://jpa-spec.java.net
Friday, May 13, 2011
Java EE 7 - When?
• Late 2012• Date-driven release
– (anything not ready will be deferred to Java EE 8)
• Participate !– Expert Groups still forming, consider joining– JCP membership free for individuals
25
Friday, May 13, 2011
26
Java EE 6 Platform
Available Today
http://www.oracle.com/javaee
Friday, May 13, 2011