Basic knowledge of Java EE specifications

Source: Internet
Author: User

Basic knowledge of Java EE specifications

I blog article URL: https://www.peretang.com/basic-knowledge-of-javaee-standard/

Introduction to Java EE

Javaee,java Platform Enterprise Edition, which provides a standard platform/specification for developing Web applications and enterprise applications.
Implies that Java EE containers/servers provided by all D Java EE server vendors must contain/support implementations of all Java EE specifications. Developing and pairing Java EE containers/servers with standard Java EE specifications allows developers to focus on the business level without having to be distracted by the problem of relying on package management.

Important : Javaee≠javaweb,javaweb is only part of the Java EE specification.

The Java EE specification contains all the modules needed for an entire enterprise application.
It can be divided into 4 parts from the architecture.
1.Web Layer
2. Business Layer (Core)
3. Enterprise Information Layer (EIS)
4. Common platform (Common)

Java EE Architecture Web tier

Provides components for web interaction, data transfer, and more

1. Focus on the View module for generating various format content for clients: JSP JSTL EL JSF

2. Modules focusing on Web real-time Interaction: WebSocket Java API

3. Focus on the Java Web Service module that provides Web services: JAX-ws Jax-rs

4. Modules focusing on interactive data specification: Json-p JAXB

5. Modules that focus on Web requests and responses: Servlet

Business Layer (Core)

Provides components to simplify business logic writing

1. Focus on developing a portable, reusable, scalable enterprise application programming Model: EJB

2. Focus on the development of simplified, lightweight, container-managed, Pojo-based programming models: Managed Beans (Managed Beans)

3. Focus on providing modules for cutting-plane programming: Interceptor API (Interceptor)

4. Focus on the module that provides transaction management: JTA

5. Focus on modules for optimizing concurrent programming: Java EE concurrency Toolkit (Concurrency Utilities for Java EE)

Enterprise Information Layer (EIS)

Provide components that interact with other enterprise middleware or services

1. Focus on the module that interacts with the database: JDBC

2. Modules focused on Java persistence: JPA

3. Modules that focus on Java Information Services: JMS

4. Modules focused on the Mail service: JavaMail API

5. Focus on modules that interact with legacy systems: JCA

6. Focus on modules that perform bulk tasks: Batch

Universal Platform (Common)

Providing common components

1. Focus on the context and Dependency Injection module: CDI

2. Focus on the Integrated Security module: JACC jasp JAAS

3. Module focusing on Java EE Platform specification annotations: Java EE generic annotations (Java EE common Annotation)

4. Module focusing on data validation: Bean Validation API (Bean Validation)

5. Focus on Java EE management modules: Java EE management API (Java EE Management API)

6. Focus on providing an indirect layer module for finding components, resources, or services: JNDI

Java EE frame composition

650) this.width=650; "alt=" java EE Architecture diagram by Peretang "src=" https://www.peretang.com/wp-content/uploads/ 2017/04/javaee-architecture-diagram-by-peretang.png "style=" width:750px;height:524px "width=" "height=" 524 " Border= "0" hspace= "0" vspace= "0" title= ""/>

Reference:
Java EE 7 Essentials
The Java EE Tutorial

中文版 version

This article from "Pere Tang" blog, reproduced please contact the author!

Basic knowledge of Java EE specifications

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.