- Kotlin for Enterprise Applications using Java EE
- Raghavendra Rao K
- 255字
- 2021-06-10 18:49:28
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.
- LabVIEW入門與實戰(zhàn)開發(fā)100例
- Visual Basic程序設(shè)計實驗指導(dǎo)(第4版)
- iOS開發(fā)實戰(zhàn):從入門到上架App Store(第2版) (移動開發(fā)叢書)
- IBM Cognos Business Intelligence 10.1 Dashboarding cookbook
- Python3.5從零開始學(xué)
- Python趣味編程與精彩實例
- Instant Apache Camel Messaging System
- Java EE 8 and Angular
- Learning NHibernate 4
- Learning Scrapy
- Practical XMPP
- Python大數(shù)據(jù)與機(jī)器學(xué)習(xí)實戰(zhàn)
- 面向WebAssembly編程:應(yīng)用開發(fā)方法與實踐
- C++并發(fā)編程實戰(zhàn)(第2版)
- 深入理解TypeScript