On September 9th, Update 1, a significant update to the Java EE 7 SDK, was released. You can get the new SDK from here. Update 1 includes updates to the Java EE 7 Tutorial as well as to the First Cup tutorial. Version numbers for both tutorials are now 7.0.5. The tutorial updates include many bug fixes, both in the examples and in the documentation. Although most of these fixes were small, taken together they should improve your experience using the tutorials.
These are the most significant example fixes:
- Fixed locale-specific problems in dukeetf and dukeetf2 that were caused by the character used as a separator.
- Fixed problems in Duke's Forest and Duke's Tutoring examples that were caused by a GlassFish package renaming exercise. See this blog entry on the Aquarium for more information.
- Rewrote the Batch Processing phonebilling example to obtain properties in partitioned steps in a way that complies with the JSR 352 specification and works with the jbatch implementation in GlassFish as well as the JBeret implementation in Wildfly. We inadvertently wrote the example in a way that caused an NPE in JBeret/Wildfly. This fix was completed the day that we shipped, so you'll need to use Update Tool to pull down the package (javaee-tutorial 7.0.5, 1-2) that includes this fix.
Note: The SDK is now available only in ZIP format, which should work on all platforms. There is no installer. The Update Tool is not included with the distribution. You must install it from the command line (issue the updatetool command) or by using NetBeans IDE (from the Services tab, open Servers, right-click GlassFish Server, select View Domain Update Center, then follow the prompts to download and install it).
We verified that all of the examples work properly with the latest versions of JDK 7, JDK 8, and NetBeans IDE 8.
Follow the instructions in Section 2.1, Required Software to obtain and install the latest update mentioned above.