| Author |
Difference Between Composite Entity and Transfer Ojbect Assembler
|
raj malhotra
Ranch Hand
Joined: Feb 22, 2007
Posts: 285
|
|
Hi
The following text is form http://java.sun.com/blueprints/corej2eepatterns/Patterns/TransferObjectAssembler.html
The Composite Entity pattern promotes a coarse-grained entity bean design, where entities can produce composite Transfer Objects similar to the one produced by the Transfer Object Assembler. However, the Transfer Object Assembler is more applicable when the composite Transfer Object constructed is derived from a number of components (session beans, entity beans, DAOs, and so forth), whereas the Composite Entity pattern constructs the Transfer Object from its own data (that is, a single entity bean).
Here what i understood is both Composite Entity and Transfer Object Assembler produces Composite Transfer Object.Transfer Object Assembler creates the composite TO using different datasources whereas composite entity build it using one datasource.
I am not sure about last line i mentioned above.Could anyone point me whats the exact difference if i am wrong?
Thanks,
Raj
|
 |
Leon Omk
Ranch Hand
Joined: Aug 17, 2010
Posts: 72
|
|
|
I can't tell the difference as well. Anyone can help?
|
OK, so that other guy knows Java better than I do, but I bet he can't speak Wuhanese(a Chinese Dialect) like me.
|
 |
 |
|
|
subject: Difference Between Composite Entity and Transfer Ojbect Assembler
|
|
|