- Java EE 8 High Performance
- Romain Manni Bucau
- 134字
- 2021-06-30 19:14:23
The application architecture
Our application will import some stock quotations daily; it will then expose them and allow you to update them through a web service.
To implement it, we will use a standard Java EE architecture:
- The persistence layer will use JPA 2.2 and store the data in a MySQL database.
- A service layer will implement the business logic and orchestrate the persistence layer. It will rely on the following:
- Java Transaction API (JTA) 1.2 for transactionality
- Context and Dependency Injection 2.0 (CDI) for Inversion of Control (IoC)
- Bean Validation 2.0 for validations
- A front layer will expose a part of the service layer through HTTP. It will rely on the following:
- JAX-RS 2.1 for stateless endpoints
- WebSocket 1.1 for stateful communications
- JSON-B 1.0 for marshalling/unmarshalling
Here is a picture summarizing this structure:

推薦閱讀
- 電腦組裝與系統安裝
- Linux設備驅動開發詳解:基于最新的Linux4.0內核
- Getting Started with oVirt 3.3
- Cybersecurity:Attack and Defense Strategies
- 蘋果電腦玩全攻略 OS X 10.8 Mountain Lion
- Haskell Financial Data Modeling and Predictive Analytics
- 循序漸進學Docker
- Linux操作系統應用編程
- 高性能Linux服務器構建實戰:系統安全、故障排查、自動化運維與集群架構
- macOS效率手冊
- Mastering Reactive JavaScript
- Django Project Blueprints
- OpenSolaris設備驅動原理與開發
- 鴻蒙操作系統設計原理與架構
- 電腦辦公(Windows 10 + Office 2016)入門與提高(超值版)