AOP

xiaoxiao2021-03-06  56

1, J2EE application system and J2EE container

The J2EE application is only available in the J2EE container to run, and the J2EE container separates some general features of the general application system, such as transaction mechanism, security mechanism, and thread pool and other performance optimization mechanisms. Developed by professionals, saving procedures development has also improved the stability of the system to be guaranteed. Formally a special J2EE container server product, such as JBoss, WebSphere, WebLogic, and more.

2, (Separation of Concerns) Disperse Follow

3, AOP

AOP (Aspect Oriented Programming), it is OOP continuation, meaning aspect programming. AOP is actually a continuation of the GOF design mode. The GOF design pattern pursues the decoupling between the caller and the caller, and AOP can be said to be an implementation of this goal.

4, AOP application range

Authentication permissions

Caching cache

Context passing content

Error Handling error handling

Lazy loading lazy loading

Debugging debugging

Logging, Tracing, Profiling and Monitoring record tracking optimization calibration

Performance Optimization Performance Optimization

Persistence persistence

Resource pooling resource pool

Synchronization synchronization

Transactions transaction

转载请注明原文地址:https://www.9cbs.com/read-72043.html

New Post(0)