Java Reference
In-Depth Information
Welcome to Java EE 6
Java EE 6, includes several improvements and additions to the specification. The
following sections list the major improvements to the specification that are of interest
to enterprise application developers.
JavaServer Faces (JSF) 2.0
Java EE 6 includes a new version of JSF. JSF 2.0 includes the following new notable
features:
• JSF 2.0 adopts Facelets as an official part of the specification. Facelets
are an alternative view technology based on pure XML templates that
was introduced with Version 2 of the JSF standard. Some of the advant-
ages of Facelets include the ability to define a view in XHTML, the ability
to easily create templates, and the ability to develop JSF components us-
ing markup, without having to use any Java code.
• JSF 2.0 also includes the ability to replace XML configuration elements
with annotations, thus greatly speeding up the development of the applic-
ations.
Enterprise JavaBeans (EJB) 3.1
EJB 3.1 was designed around the concept of ease of development for users. Now
designing an EJB application is much easier and less error-prone than in the past.
Some enhancements provided with this application are as follows:
• Local interfaces are now optional as an actual bean instance and can be
injected into local clients. Singleton session beans can be used to man-
age application states. Session beans can now be invoked asynchron-
ously, allowing us to use session beans for tasks that were previously re-
served for JMS and message-driven beans.
• The EJB timer service of the enterprise bean container enables you to
schedule timed notifications for your EJBs. You can schedule a timed no-
tification to occur according to a calendar schedule either at a specific
time or at timed intervals.
Search WWH ::




Custom Search