The Advantages of Detached object are as below:
Detached object passing can be done across layers upto the presentation layer without using Data Transfer Objects.
At the time of using long transactions by the user which needs long think time, it is suggested to split these transaction scope which then can be re-attached to a new transaction.
The Disadvantages of Detached Object are as below:
The using of detached objects are cumbersome and cryptic. it is suggested not to be cluttered with the session, if possible.
It is recommended to use data transfer object and DomainObjects that is used to maintain seperation between the user interfaces and the service.
Read More →