Learn Java for Web Development

(Tina Meador) #1
CHAPTER 1: Introducing Java Web Development 7

Regarding the Web Profile specifications listed in Table 1-3:


   In Java EE 7, no changes were made to JSP and JSTL because these
specifications have not been updated.
 Expression Language has been removed from JSP and now has its own
JSR (341).
 Servlets and JSF have both been updated.
 WebSocket 1.0 was introduced in Java EE 7.

This book concentrates on the web tier of Java EE; we will dive deep into the web tier in Chapter 2.


The multitier architecture of Java EE has a tremendous impact on the development of Java
enterprise applications. A Java enterprise application can be defined as a Java application that
utilizes the enterprise services offered by Java EE. In fact, a web application can be classified as
an enterprise application if it utilizes Java EE services in the form of components packed in the
web tier. Java EE isolates these services functionally into separate tiers, as illustrated in Figure 1-3,
by providing an application model on which the Java enterprise applications should be built. As a
consequence, the Java enterprise application mirrors the multitier architecture of Java EE. Figure 1-
illustrates a generalized view of the layers of a typical web application.


Table 1-3. Web Profile 7 Specification


Specification Version URL


JSF 2.2 http://jcp.org/en/jsr/detail?id=
JSP 2.3 http://jcp.org/en/jsr/detail?id=
JSTL 1.2 http://jcp.org/en/jsr/detail?id=
Servlet 3.1 http://jcp.org/en/jsr/detail?id=
WebSocket 1.0 http://jcp.org/en/jsr/detail?id=
Expression Language 3.0 http://jcp.org/en/jsr/detail?id=
EJB Lite 3.2 http://jcp.org/en/jsr/detail?id=
JPA 2.1 http://jcp.org/en/jsr/detail?id=
JTA 1.2 http://jcp.org/en/jsr/detail?id=
Bean Validation 1.1 http://jcp.org/en/jsr/detail?id=
Managed Beans 1.0 http://jcp.org/en/jsr/detail?id=
Interceptors 1.2 http://jcp.org/en/jsr/detail?id=
Contexts and Dependency
Injection

1.1 http://jcp.org/en/jsr/detail?id=

Dependency Injection for Java 1.0 http://jcp.org/en/jsr/detail?id=
Debugging Support for Other
Languages

1.0 http://jcp.org/en/jsr/detail?id=

JAX-RS 2.0 http://jcp.org/en/jsr/detail?id=
JSON-P 1.0 http://jcp.org/en/jsr/detail?id=
Free download pdf