Video: Java EE 7 in Liberty

The following transcript is for the "Java EE 7 in Liberty" video, which describes Liberty support for the Java™ Platform, Enterprise Edition (Java EE) 7 specifications and highlights ways to enable your Liberty servers for Java EE 7. This transcript is the video storyboard. Audio describes narration and captions. Onscreen Action describes the content that is shown in the video.

Video Java EE 7 in Liberty

Table 1. Title page and benefits of Java EE 7. Show title and then list the benefits of Java EE 7.
Scene Audio Onscreen Action
1 Liberty now complies with Java Platform, Enterprise Edition Version 7. This video tells you about Liberty support for Java EE 7 and shows how you can quickly configure your servers for it. Show title Java EE 7 in Liberty and the Java Compatible Enterprise Edition logo. Also show Java Platform, Enterprise Edition Version 7 instead of Java EE 7 for a few seconds to give the full name for Java EE 7.
2 With Java EE 7, you have an open framework that enables you to provide robust business solutions and leverage your Java programming.

You can deliver HTML5 dynamic scalable applications for desktops, tablets, and smartphones.

You can be more productive. The simplified application architecture reduces the amount of boilerplate code needed for business logic.

And you can support more enterprise demands. You can write batch applications in Java that use a standard API and are portable across multiple runtimes. You also can break down batch jobs into manageable chunks for uninterrupted performance.

Show animation that describes Java EE 7 and illustrates its main benefits:
  • HTML5 dynamic scalable applications
  • Increased developer productivity
  • Enterprise technologies such as batch processing
Table 2. Grouping of specifications into "Java EE 7 full platform" and "Java EE 7 Web Profile". Show what specifications are available in the "Java EE 7 full platform" and "Java EE 7 Web Profile" groups.
Scene Audio Onscreen Action
3 Java EE 7 introduces the full platform. All Java EE 7 specifications (or JSRs) are in the full platform. Show image that has the entire Java EE 7. Highlight "Full Platform" and then all specifications.
4 Specifications for web applications are in the Web Profile, a subset of the full platform.

Java EE 6 introduced Web Profile to assist developers of dynamic web applications, providing technologies such as EJB Lite, Java Persistence API, and Java Transaction API.

For Java EE 7, Web Profile adds support for HTML5.

Two new technologies, WebSocket and JSON, speed up data exchanges and simplify data parsing for portable applications. Updates to existing technologies, JAX-RS 2.0, Java Server Faces 2.2, and Servlet 3.1 enhance your ability to develop dynamic HTML5 applications.

A more robust POJO development model enables broader use of annotations, such as in Interceptors and CDI.

Bean Validation 1.1 offers method-level validation.
Show image that has the entire Java EE 7. Then show animation that lists the specifications in Web Profile and highlights the specifications named in the audio.
Web Profile 

Specification                         Java EE 6  Java EE 7

Bean Validation                             1.0   1.1
Common Annotations for the Java Platform    1.1   1.2
Contexts and Dependency Injection (CDI)     1.0   1.2
Debugging Support for Other Languages       1.0   1.0
Dependency Injection for Java               1.0   1.0
Enterprise JavaBeans (EJB) Lite             3.1   3.2
Expression Language (JSP/EL)                2.2   3.0
Interceptors                                1.1   1.2
Java API for JSON Processing (JSON-P)       n/a   1.0
Java API for RESTful Web Services (JAX-RS)  n/a   2.0
Java Database Connectivity (JDBC)           4.0   4.1
Java Naming and Directory Interface (JNDI)  1.0   1.0
Java Servlet                                3.0   3.1
JavaServer Faces (JSF)                      2.0   2.2
JavaServer Pages (JSP)                      2.2   2.3
Java Transaction API (JTA)                  1.1   1.2
Java Persistence API (JPA)                  2.0   2.1
Managed Beans                               1.0   1.0
Standard Tag Library for JavaServer Pages (JSTL) 1.2  1.2
WebSocket                                   n/a   1.0, 1.1
5 Also added for Version 7 are specifications for enterprise, web service, batch and other applications, as well as support for application security, deployment and management. These specifications are in the full platform.

Java EE 7 has a simplified architecture requiring less boilerplate code for business logic, such as in JMS 2.0.

For the enterprise, you can use Batch Applications to better utilize computing resources by shifting processing times to when resources are typically idle. Concurrency Utilities supports scalable applications that integrate with the Java EE runtime in a secure, reliable manner.

The full platform also has updated support for Java Connector Architecture and Java Message Service.

Show image that has the entire Java EE 7. Then show animation that lists the specifications in the full platform and highlights the specifications named in the audio.
Full Platform

Web Profile 

Specification                         Java EE 6  Java EE 7

Bean Validation                             1.0   1.1
Common Annotations for the Java Platform    1.1   1.2
Contexts and Dependency Injection (CDI)     1.0   1.2
Debugging Support for Other Languages       1.0   1.0
Dependency Injection for Java               1.0   1.0
Enterprise JavaBeans (EJB) Lite             3.1   3.2
Expression Language (JSP/EL)                2.2   3.0
Interceptors                                1.1   1.2
Java API for JSON Processing (JSON-P)       n/a   1.0
Java API for RESTful Web Services (JAX-RS)  n/a   2.0
Java Database Connectivity (JDBC)           4.0   4.1
Java Naming and Directory Interface (JNDI)  1.0   1.0
Java Servlet                                3.0   3.1
JavaServer Faces (JSF)                      2.0   2.2
JavaServer Pages (JSP)                      2.2   2.3
Java Transaction API (JTA)                  1.1   1.2
Java Persistence API (JPA)                  2.0   2.1
Managed Beans                               1.0   1.0
Standard Tag Library for JavaServer Pages (JSTL) 	1.2  1.2
WebSocket                                   n/a   1.0, 1.1

Remaining Full Platform

Batch Applications for Java Platform        n/a   1.0
EE Concurrency Utilities                    n/a   1.0
Enterprise JavaBeans (EJB) full             n/a   3.2
Implementing Enterprise Web Services        n/a   1.4
J2EE Management                             n/a   1.1
Java API for RESTful Web Services (JAX-RS)  1.1   n/a
Java API for XML-Based Web Services (JAX-WS) n/a  2.2
Java API for WSDL (JWSDL) 
Java API for XML Processing (JAXP)          n/a   1.4
Java Architecture for XML Binding (JAXB)    n/a   2.2
Java Authentication Service Provider Interface for Containers (JASPIC) n/a  1.1
Java Authorization Contract for Containers (JACC) n/a  1.5
Java EE Connector Architecture (JCA)        1.6   1.7
JavaMail                                    n/a   1.5
Java Message Service (JMS) API              1.1   2.0
Java Management Extensions (JMX)            n/a   2.0
JavaBeans Activation Framework (JAF)        n/a   1.1
SOAP with Attachments API for Java (SAAJ)   n/a   1.3
Streaming API for XML (StAX)                n/a   1.0
Web Services Metadata for the Java Platform
6 In all, Java EE 7 has over 20 new or changed specifications.

The Liberty product supports the full platform specifications, while the Liberty Core product supports mainly the Web Profile specifications.

Show image of the entire Java EE 7. Highlight the specifications supported by Liberty and then Liberty Core.
Table 3. Demo installing Liberty with Java EE 7 by extracting a compressed (ZIP) file. Show how to install a Liberty runtime with Java EE 7 by extracting a ZIP file downloaded from WASdev.
Scene Audio Onscreen Action
7 You can install Liberty with Java EE 7 technologies by downloading a compressed, or ZIP, file from the WASdev website to a temporary directory, and then extracting the ZIP file to an empty directory. Show how to download a ZIP file with Liberty and Java EE technologies from the WASdev website to C:\wlp_temp on a workstation and then extract the ZIP file to C:\, resulting in installation of Liberty to C:\wlp.
8 It's that simple! Show selecting the C:\wlp installation directory.
Table 4. Demo adding a Liberty runtime with Java EE 7 features in WebSphere Developer Tools for Eclipse. Show how to install a server with Java EE features in WebSphere® Developer Tools.
Scene Audio Onscreen Action
9 In WebSphere Developer Tools for Eclipse, you can add a Liberty runtime with Java EE technologies.

Create a new server and select to download and install a Liberty runtime environment from ibm.com.

The runtime options with Java EE 7 technologies are for the full platform, Web Profile or client.

You can add on individual features. Technologies that are in the selected runtime option are greyed out.

Show images that demo how to add a Liberty server that has Java EE technologies in WebSphere Developer Tools.
  1. Right-click in the Servers view and select New > Server.
  2. In the New Server wizard:
    1. Select the WebSphere Application Server Liberty server type and click the Add link.
    2. Select Install from an archive or repository and click Next.
    3. Specify the location to which to install Liberty, select Download and install a new runtime environment from ibm.com, select a Liberty product with Java EE 7 technologies, and click Next.
    4. Select any add-ons to install and click Next.
    5. Accept the license agreement and click Finish.
    6. After installation, click Next.
    7. Specify a server name and click Next.
    8. Click Finish.
To start the server, right-click the Liberty server in the Servers view and click Start.
Table 5. Demo adding Java EE 7 features to a Liberty installation from a command line and Installation Manager. Show how to run an installUtility command to install Java EE features. Briefly show the Installation Manager option.
Scene Audio Onscreen Action
10 If you already have Liberty installed, you can add Java EE 7 features to your installation by running a featureManager or installUtility command. Show running an installUtility command to install features into an existing installation of Liberty at C:\wlp.
  1. From a command line at C:\wlp\bin, show running a command to install the webProfile-7.0 feature:
    installUtility install webProfile-7.0
  2. Enter 1 to agree to the terms of the license agreement.
Command messages list the features installed.
11 You also can use Installation Manager to install Java EE 7 features. Show images that demo how to use Installation Manager to install Liberty with Java EE 7 features.
  1. During installation of IBM WebSphere Application Server Liberty Network Deployment 8.5.5.6, under Liberty Repositories on the Install Packages page, select Allow Installation Manager to connect to the IBM WebSphere Liberty Repository and click Next.
  2. Under Asset Selection on the Install Packages page, click Launch Asset Selection Wizard.
  3. In the Asset Selection dialog:
    1. Click the Install button to select a Java EE technology to install.
    2. After the Install button changes to the Install Pending button, click Next.
    3. Under License Agreement, select I accept the terms in the license agreement and click Finish.
  4. Under Asset Selection on the Install Packages page, review the list of assets to install and click Next.
12   Show a summary of the ways to install Java EE 7 technologies for Liberty:
  • ZIP file from the WASdev website
  • WebSphere Application Server Developer Tools for Eclipse
  • installUtility or featureManager command
  • IBM Installation Manager
Table 6. Demo configuration of a Liberty server to add a Java EE 7 feature. Show how to add a Java EE 7 feature to a server configuration.
Scene Audio Onscreen Action
13 After Java EE 7 features are installed, adding support for a Java EE 7 specification to a Liberty server is as simple as adding a feature name to a server.xml file. Under the heading Configuration, show a command line at C:\wlp\bin with the command server run server1 and with messages indicating that server1 is running. Also show a text editor open on the server.xml file of server1. Finally, show adding the jaxrs-2.0 feature to a feature manager and the resulting server1 messages that confirm the server configuration change.
14 Liberty provides the javaee-7.0, webProfile-7.0, and javaeeClient-7.0 convenience features to make it easier to enable your servers to support a broad range of applications. Show a list of the Liberty convenience features for Java EE 7:
  • javaee-7.0
  • webProfile-7.0
  • javaeeClient-7.0
15 Use the javaee-7.0 feature to quickly add support for all specifications. The webProfile-7.0 feature adds support for web applications. And the javaeeClient-7.0 feature allows you to quickly configure an application client component. Show sample configuration files for the javaee-7.0, webProfile-7.0, and javaeeClient-7.0 convenience features.
Table 7. Some features require configuration or migration. Show where to find instructions about the needed configuration or migration.
Scene Audio Onscreen Action
16 The IBM® Knowledge Center has information about the features.

Java EE 7 programming model support lists the Java EE specifications, provides links to the JSRs and Liberty features, and tells you what products support the specifications. Note that not all Java EE specifications have their own Liberty feature.

For some of the features, you'll need to do configuration beyond adding the feature name to a server.xml.

If your server uses Java EE 6 features and you are considering adding Version 7 features, look at Supported Java EE 6 and 7 feature combinations. Also, look at Java EE 7 behavior changes to see whether moving from a Version 6 feature to a Version 7 feature would benefit your applications and environment.

For details on features, see Liberty features.

Show topics in Knowledge Center that identify and cover feature configuration and migration:
  • Java EE 7 programming model support
  • Supported Java EE 6 and 7 feature combinations
  • Java EE 7 behavior changes
  • Liberty features
Table 8. Conclusion. Show where to find more information about Java EE 7 in Liberty.
Scene Audio Onscreen Action
17 For how-to articles and videos on using Java EE 7 in your applications as well as information about configuring servers, see WASdev.net and the WebSphere Application Server Liberty documentation on IBM Knowledge Center. Show where to find information about Java EE 7 in Liberty:
WASdev
http://developer.ibm.com/wasdev
IBM Knowledge Center
http://www.ibm.com/support/knowledgecenter/

For more information, see Java EE 7 in Liberty.


Icon that indicates the type of topic Concept topic

File name: video_transcript_javaee7.html