Web Applications of the future: Combining JEE6 & JavaFX

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

  • + guest5b8c2c karimo 1 week ago
    I find it very interesting, though I used it for JSF!!
Post a comment
Embed Video
Edit your comment Cancel

1 Favorite

Web Applications of the future: Combining JEE6 & JavaFX - Presentation Transcript

  1. Developing Web Applications of the future - Combining JEE 6 & JavaFX
  2. Goal of this talk New features in JEE 6 Mixing JEE 6 and JavaFX A look into the near future
  3. About me Paul Bakker EJB 3 Trainer Info Support JSF NLJUG speaker Seam JavaFX Java Magazine author Spring Hibernate Flex
  4. Outline JavaFX web applications JAX-RS RESTful services Connecting JavaFX to services
  5. One minute JavaFX intro Sun’s RIA platform Competes with Flex, Flash and Silverlight A new language JavaFX Script Declarative UI programming
  6. JavaFX key features Expressiveness Easy component creation Animation Java integration Media support Write once, run anywhere...
  7. Current problems No components! No layout managers No selectable text Tooling
  8. JEE 6 ingredients Profiles EJB 3.0 => 3.1 (Lite) JSF 1.2 => 2.0 JPA 1.0 => 2.0 JAX-RS => New! WebBeans => New!
  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
  14. JavaFX brower integration AppletStageExtension Browser navigation Script evaluation Call JavaScript methods
  15. JavaFX calling JavaScript
  16. Server url JavaFX uses web services to connect to the server Do not hardcode the server url Use FX.getParameter
  17. JSF page initialization Use @ManagedProperty to inject a request parameter Use @PostConstruct to initialize values
  18. JFXtras Layout Managers MigLayout port Compontents Dialogs Unit Testing http://code.google.com/p/jfxtras/
  19. MigLayout example
  20. JEE 6 & JavaFX Browser Desktop JavaScript JavaFX JavaFX HTML HTTP Server JAX-RS JSF EJB 3 JPA
  21. JAX-RS Expose RESTful web services Annotation based Easily combined with EJB and JPA But no @EJB injection (yet)
  22. RESTful intro Web style web services Resources over HTTP Uniform Interface Connectedness Addressability Statelessness
  23. JAX-RS @Path Resource class root path A sub-resource
  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
  28. EJB 3.1 lite Session Bean
  29. Global JNDI namespace A portable namespace java:global[/<app-name>]/<module-name>/ <bean-name>
  30. Using Global JNDI MobileShopServices.war
  31. Converting Resource Entity Request Converter XML Response JAXB
  32. Converting Entities Each Entity has two converters A single Entity converter A list converter A JAXB annotated wrapper class
  33. Converter example
  34. JavaFX web service API JavaFX style HTTP calls Pull style parsing XML and JSON supported REST only (no SOAP)
  35. JavaFX Production Suite Designer => Developer Workflow
  36. Production Suite Workflow Place all Replace Photoshop elements on dummy scene elements Add Add action animation handlers
  37. More about this June 29: Summer Class Bert Ertman & Paul Bakker
  38. More about this June 29: Summer Class JSF 2.0 Servlet 3.0 EJB 3.1 (lite) JPA 2.0 WebBeans JAX-RS JavaFX (including new beta)
SlideShare Zeitgeist 2009

+ Paul BakkerPaul Bakker Nominate

custom

1973 views, 1 favs, 0 embeds more stats

This presentation shows the most important web rela more

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 1973
    • 1973 on SlideShare
    • 0 from embeds
  • Comments 1
  • Favorites 1
  • Downloads 59
Most viewed embeds

more

All embeds

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories