Video: Unlocking the Java EE 6 Platform
By Geertjan on Feb 14, 2012
It's amazing how many small and subtle tools NetBeans IDE 7.1 provides for Java EE 6 development. Here's a silent (maybe I'll add some explanatory voice over to it later, but there's something to be said for not having a voice to distract you, so that you're forced to look purely at the images and mouse movements) overview, whizzing through the key tools in NetBeans IDE 7.1 as an application is built up from scratch in just over 10 minutes:
This is what happens in the movie, based on an earlier movie and hands on labs by Arun Gupta:
- Tools for working with servers, specifically GlassFish, and databases, specifically Java Derby, are shown.
- A plain vanilla Java Web application is created.
- Deploy on save is demonstrated.
- Entity classes are generated from a Java Derby database.
- A session bean is created, to provide business logic for accessing our database via the entity classes.
- A servlet is added for testing the session bean.
- A Facelets template is created.
- A client of the template is created.
- The session bean is injected into the Facelets client, so that expression language can be used to access it.
- The session bean exposes itself as a JAX-RS service and produces XML shown in the browser.
The demo above is a quick recap of the presentation I did on this topic at Java Day, St. Petersburg.