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

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.
主站蜘蛛池模板: 巴楚县| 凤凰县| 柘荣县| 丹巴县| 万源市| 湘阴县| 车险| 曲麻莱县| 富源县| 揭西县| 抚州市| 青铜峡市| 静乐县| 会理县| 宜丰县| 江达县| 鸡西市| 望谟县| 巢湖市| 晋宁县| 临江市| 洪湖市| 九寨沟县| 恭城| 阿城市| 上高县| 临邑县| 肃宁县| 承德市| 临安市| 灌云县| 漠河县| 西吉县| 湖北省| 大冶市| 海淀区| 景德镇市| 五台县| 宁远县| 休宁县| 渭南市|