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

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.
主站蜘蛛池模板: 庆阳市| 微博| 岳阳县| 游戏| 运城市| 大庆市| 嘉定区| 杭州市| 肇东市| 大悟县| 永泰县| 武清区| 大化| 浙江省| 新平| 开江县| 临朐县| 历史| 怀仁县| 鄢陵县| 怀化市| 南安市| 馆陶县| 都匀市| 乌兰浩特市| 定兴县| 聊城市| 丰顺县| 屯昌县| 新竹市| 怀柔区| 秦皇岛市| 霍山县| 莱阳市| 柳江县| 自治县| 葵青区| 长阳| 青铜峡市| 丰都县| 巴彦县|