Java Reference
In-Depth Information
applications, you use a single, standard set of tags. This standardization allows you to de-
ploy your applications on any JSP container that supports JSTL and makes it more likely
that the implementation of the tags is optimized.
JSTL has iterator and conditional tags for handling flow control, tags for manipulating
XML documents, internationalization tags, tags for accessing databases using SQL, and
commonly used functions.
The Java EE 6 platform requires JSTL 1.2.
Java Persistence API
The Java Persistence API (JPA) is a Java standards-based solution for persistence. Persist-
ence uses an object/relational mapping approach to bridge the gap between an object-ori-
ented model and a relational database. The Java Persistence API can also be used in Java
SE applications, outside of the Java EE environment. Java Persistence consists of the fol-
lowing areas:
• The Java Persistence API
• The query language
• Object/relational mapping metadata
The Java EE 6 platform requires Java Persistence API 2.0.
Java Transaction API
The Java Transaction API (JTA) provides a standard interface for demarcating transac-
tions. The Java EE architecture provides a default auto commit to handle transaction com-
mits and rollbacks. An auto commit means that any other applications that are viewing
data will see the updated data after each database read or write operation. However, if your
application performs two separate database access operations that depend on each other,
you will want to use the JTA API to demarcate where the entire transaction, including both
operations, begins, rolls back, and commits.
The Java EE 6 platform requires Java Transaction API 1.1.
Java API for RESTful Web Services
The Java API for RESTful Web Services (JAX-RS) defines APIs for the development of
web services built according to the Representational State Transfer (REST) architectural
style. A JAX-RS application is a web application that consists of classes packaged as a
servlet in a WAR file along with required libraries.
The JAX-RS API is new to the Java EE 6 platform. The Java EE 6 platform requires
JAX-RS 1.1.
Search WWH ::




Custom Search