- Java EE 8 Development with Eclipse
- Ram Kulkarni
- 218字
- 2021-06-18 18:59:52
Enterprise JavaBeans
Enterprise JavaBeans (EJBs) are the Java classes where you can write your business logic. Though it is not a strict requirement to use EJBs to write business logic, they do provide many of the services that are essential in enterprise applications. These services are security, transaction management, component lookup, object pooling, and so on.
You can have EJBs distributed across multiple servers and let the application container (also called the EJB container) take care of component lookup (searching component) and component pooling (useful for scalability). This can improve the scalability of the application.
EJBs are of two types:
- Session beans: Session beans are called directly by clients or middle-tier objects
- Message-driven beans: Message-driven beans are called in response to Java Messaging Service (JMS) events
JMS and message-driven beans can be used for handling asynchronous requests. In a typical asynchronous request processing scenario, the client puts a request in a messaging queue or a topic and does not wait for immediate response. An application on the server side gets the request message, either directly using JMS APIs or by using MDBs. It processes the request and may put the response in a different queue or topic, to which the client would listen and get the response.
Java EE 8 contains EJB specification 3.2 and JMS specification 2.0.
- Learn TypeScript 3 by Building Web Applications
- The Android Game Developer's Handbook
- Mastering phpMyAdmin 3.4 for Effective MySQL Management
- JavaFX Essentials
- 名師講壇:Java微服務架構實戰(SpringBoot+SpringCloud+Docker+RabbitMQ)
- MySQL數據庫基礎實例教程(微課版)
- Hands-On Natural Language Processing with Python
- Red Hat Enterprise Linux Troubleshooting Guide
- Hands-On JavaScript for Python Developers
- 物聯網系統架構設計與邊緣計算(原書第2版)
- JavaScript編程精解(原書第2版)
- 基于GPU加速的計算機視覺編程:使用OpenCV和CUDA實時處理復雜圖像數據
- 微信小程序開發邊做邊學(微課視頻版)
- Python實戰指南:手把手教你掌握300個精彩案例
- Mastering VMware vSphere Storage