This presentation shows the most important web related new futures in JEE 6, and how to combine JEE 6 and JavaFX to create interesting applications. Topics such as JAX-RS, JSF 2.0, EJB lite and JavaFX/JavaScript integration is discussed.
9. Using JEE 6
GlassFish V3
EJB3.1, JSF 2.0 and JAX-RS
No WebBeans, Servlet 3.0 and JPA 2.0 yet
Only WAR deplyment
10. JEE 6 & JavaFX
Browser
Desktop
JavaScript
JavaFX JavaFX HTML
HTTP
Server
JAX-RS JSF
EJB 3
JPA
11. 2.0 highlights
JSF
Facelets
Annotation support
e.g. @ManagedBean
AJAX support
Resource loading
Project Stages
12. Integrating JSF & JavaFX
JSF renders to HTML
Use <applet> tag
JavaScript for communication
All text oriented functionality => JSF
All flashy stuff => JavaFX
13. Full page JavaFX
Too limited at this moment
Navigation, bookmarks, scrolling...
Will be an option in future versions
Ok for Swing / Desktop
24. JAX-RS
@GET
Method handling GET requests
@Produces
Content type supported
@PathParam
Extract value from URI template
25. Using JPA
Use out-of-container JPA confguration
Use EJB (Lite) Session Beans Lookup
Global JNDI namespace
@EJB
Use Session Bean as resource
Might not be in JEE 6
26. JEE 6 & JavaFX
Browser
Desktop
JavaScript
JavaFX JavaFX HTML
HTTP
Server
JAX-RS JSF
EJB 3
JPA
27. lite
EJB 3
No interface required
Runs in the web profile
No Message Driven Beans
No remote interface
No Timer service
No EJB 2.x compatibility