Example & Tutorial understanding programming in easy ways.

What are the benefits of detached objects?

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 →
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!