Java EE 7 Tutorial Updated!
By eric.jendrock on Aug 21, 2013
An update to the Java EE 7 Tutorial just went public. Update 7.0.2 contains many bug fixes and refinements to the documentation and the examples and also includes the following new or substantially revised examples.
outboundconnector(Java EE Connector Architecture)
outboundconnectorexample demonstrates how to implement and use a simple outbound resource adapter that submits requests to a legacy enterprise information system (EIS) using a TCP socket. This example includes a resource adapter and a web application. The resource adapter implements the outbound contract defined by the Java EE Connector Architecture specification. The web application uses the resource adapter to interact with the EIS.
inboundconnector(Java EE Connector Architecture)
inboundconnectorexample demonstrates how to implement and use a simple inbound resource adapter that accepts requests from a legacy enterprise information system (EIS) using a TCP socket. This example includes a resource adapter and a message-driven bean (MDB). The resource adapter implements the inbound contract defined by the Java EE Connector Architecture specification. The MDB activates the resource adapter and provides the business logic to interact with the EIS.
simple-flowexample illustrates the most basic use of the Faces Flows feature. This example is explained in Chapter 16, Configuring JavaServer Faces Applications.
In the Java Message Service (JMS) area, several examples have been substantially rewritten. These examples illustrate durable subscriptions, message acknowledgment, and JMS local transactions. A new annotation, @JMSDestinationDefinition, has been added to some of the examples. This annotation can be used to specify a JMS Destination resource that an application requires in its operational environment. This provides information to be used at deployment time to provision the required resource and enable an application to be deployed with minimal or no administrative configuration.
Follow the instructions in Section 2.1, Required Software to get and install the update.