1.AM encapsulate the view object instances and business service methods necessary to perform a unit of work.
2.Each application module has its own transactional context and holds its own database connection. This means that all of the work a user performs using view objects from one application module is part of one database transaction.
3.Application modules can have different granularity, but typically, you will have
one application module for each major piece of functionality.
4.If you wish, you can combine multiple application modules inside one root application
module. This is called nesting and allows several application modules to participate in the transaction of the root application module.
This also saves database connections because only the root application module needs a connection.
5. When a root application module contains other nested application modules, they all participate in the root application module's transaction and share the same database connection and a single set of entity caches. This sharing is handled for you automatically by the root application module and its Transaction object.
Comments
Post a Comment