Monday Oct 26, 2015

Java One 2015: Java EE 7 In Action [TUT2573]

Today, Reza Rahman, Java EE Evangelist, Oracle presents session TUT2573, which is about the Tutorial that describes how to develop enterprise applications for the Java Platform Enterprise Edition (EE) by using the GlassFish Server Open Source Edition. For more information about GlassFish Server, see . The tutorial also describes the new features in Java EE 7 by introducing the Cargo Tracker application. This end-to-end sample application in based on From modern Java EE perspective, Cargo Tracker brings back some of the core concepts of the J2EE Pet Store effort of past years. Some of the Java EE 7 features that are demonstrated in the Cargo Tracker are JMS2, WebSocket, JSON-P, JAX-RS 2, JSF 2.2, JPA 2.1, and Java Batch. An important goal of the Java EE 7 platform is to simplify development by providing a common foundation for the various kinds of components in the Java EE platform. Developers benefit from productivity improvements with more annotations and less XML configuration, more Plain Old Java Objects (POJOs), and simplified packaging. For more information about Java EE7, see the tutorial:

This session takes place at 8:30 a.m. at the Parc 55—Cyril Magnin II/III.

Monday Sep 15, 2014

First Cup and Java EE 7 Tutorial Updated!

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.

Tuesday Apr 15, 2014

JDK 8u5 and JDK 7u55 Documentation Updates

The Java Development Kit 8 Update 5 (JDK 8u5) and JDK 7u55 releases are available and can be downloaded from the Java SE Downloads page. For information about these releases, see the JDK 8u5 Release Notes and the JDK 7u55 Release Notes.

JDK 8u5 and 7u55 enhancements include the following:

  • The frequency of some security dialogs has been reduced on systems that run the same Rich Internet Application (RIA) multiple times.
  • If a stand-alone asterisk (*) is specified as the value for the Caller-Allowable-Codebase attribute, then calls from JavaScript code to RIA will show a security warning, and users have the choice to allow the call or block the call. For more information, see JAR File Manifest Attributes for Security (or the JDK 7 version of this section).

Friday Mar 02, 2012

Java Tutorials Now Available as eBooks!

The Java Tutorials have been updated. The major feature of this release is that most of the tutorial trails are now available as free downloadable eBooks!

What is new in the March 2nd, 2012 release:

  • The Java Tutorials are now available in two new formats:
    • mobi ebook files for Kindle. For best results we recommend viewing on the Kindle Fire or Kindle DX.
    • ePub ebook files for iPad, Nook, and other eReaders that support the ePub format.
  • Each ebook contains a single trail. You can download trails via the link in the "In Book Form" box on the tutorial's front page.

    For best results when viewing preformatted code blocks, adjust the landscape/portrait orientation and font size of your device to enable the maximum possible viewing area.

  • We are pleased to announce that the Preparation for Java Programmer Language Certification lesson has been completely reworked. The objectives for each Java SE 7 certification exam are listed and links are provided to relevant tutorial pages.

  • The Internationalization of Network Resources lesson has been updated.

For more information, see The Java Tutorials.


Blog about Java technology documentation and news about Java releases.


« February 2017