Home  >  Article  >  Java  >  EJB basics

EJB basics

巴扎黑
巴扎黑Original
2017-06-26 10:23:241513browse

My blog article URL:


What is EJB

Portable, reusable, scalable business applications Platform

Why choose EJB

1. Ease of use, the EJB container provides many services, developers only need to focus on the business itself

2. Integrated solution suite, with a large number of services provided by the application server

3. Open JavaEE standards

4. Extensive vendor support

5. Stable, high quality Code base

6. Clustering, load balancing, failover

7. Easy development allowing reusable components

Services provided by EJB containers

1. Integration

2. Pooling

3. Thread safety

4. State management (for stateful session beans)

5. Message server (for message-driven beans)

6. Transaction

7. Security

8. Interceptor

9. Remote access

10. Web service

11. Persistence

12. Caching

13. Performance optimization

EJB3.X’s new features

1. Simplify the program design model, based on POJO design

2. Support annotations

3. Support dependency injection and JNDI

4. Simplified persistence API

5. POJO components that can be unit tested

Reference

EJB 3 in Action, Second Edition

The above is the detailed content of EJB basics. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn