官术网_书友最值得收藏!

Introduction to the Java EE architecture

Modern enterprise applications are often developed using a layered architecture. The most commonly-followed architecture is a three-tiered architecture. In this model, the responsibilities of an application are divided into three layers—view, business logic, and persistence. The view or presentation layer deals with presenting a user interface and is responsible for interacting with the end user and the application. The business layer consists of the core business and the domain logic of the enterprise application. This includes the code that defines the processes to run and deals with how data is created and operated on for the business problem in question. The persistence layer defines how data is stored using a database. This three-tiered architecture is as follows:

Java EE provides services to enterprise applications that are developed using a layered architecture. Servlets, Java Server Pages (JSP), or Java Server Faces (JSF) can be used for the presentation layer of the application. Typically, these components are deployed on a web container and the end user interacts with the web container using the web browser. Enterprise Java Beans are used for the business logic of the application and run in an EJB container. The JPA, meanwhile, is used for the persistence layer of the application, which maps between entities and relational database tables. This is depicted in the following diagram:


A Java EE container offers many other services. These include the Java Messaging Service ( JMS), Remote Method Invocation ( RMI), resource adapters, and web services.
主站蜘蛛池模板: 西乌| 莲花县| 呈贡县| 晋宁县| 公主岭市| 遵义市| 股票| 长宁县| 静海县| 长春市| 宜城市| 南郑县| 景泰县| 珲春市| 盐亭县| 澄城县| 新蔡县| 申扎县| 昌都县| 南陵县| 开阳县| 嵊州市| 海阳市| 石渠县| 厦门市| 三原县| 雅安市| 化德县| 新余市| 卫辉市| 大关县| 灵宝市| 新乡市| 陕西省| 云龙县| 毕节市| 沁阳市| 平舆县| 龙井市| 乌拉特后旗| 仁化县|