A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Stan James:
All this implies a pretty "anemic" object model ... lots of data structure beans flying around and not much "rich" behavior in objects.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by manish ahuja:
With regards to creating wrapper business objects (application specific objects)
approach v/s using the domain objects (say Hibernate generated or in my case the
java classes representing the web services) what are the arguments in favour of and
against before adopting any approach.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
Ilja said: I've had very good success with doing that using true domain objects - instantiated by hybernate and used by both the domain and the presentation layer.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Originally posted by Stan James:
Most recently those objects were generated from models and we were prohibited (by convention) from adding code to them because it would be lost on the next gen. I wonder if that isn't a typical side effect when building web service code from WSDL, too.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Consider Paul's rocket mass heater. |