Plain old Java object: Difference between revisions

Content deleted Content added
JavaBeans: dab JSF
Line 59:
===Transparently adding services===
 
As designs using POJOs have become more commonly used, systems have arisen that give POJOs the full functionality used in frameworks and more choice about which areas of functionality are actually needed. In this model, the programmer creates nothing more than a POJO. This POJO purely focuses on [[business logic]] and has no dependencies on (enterprise) frameworks. [[Aspect-oriented programming|AOP]] (AOP) frameworks then transparently add cross-cutting concerns like persistence, transactions, security, and so on.<ref>Martin, Robert C. (2008). Clean Code. Chapter 11, Pure Java AOP Frameworks</ref>
 
[[Spring Framework|Spring]] was an early implementation of this idea and one of the driving forces behind popularizing this model.