Search the web
Sign In
New User? Sign Up
ajug · Australian Java Users Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
calculated object   Message List  
Reply | Forward Message #6888 of 7353 |
Re:calculated object

Hi Chris,

Here's my interpretation, which is, of course, open to interpretation..

* Domain object - something representing a concept in the business
domain. Something that you could ideally show to a business analyst or
client and get some vague look of recognition. 'Domain Driven Design'
by Eric Evans is a deep look at domain modeling and object taxonomy
(service, entity, value, etc)

* POJO - a plain ol' java object, but not necessarily one that models
a business domain concept. At a basic level, a Java class that doesn't
need a deployment descriptor or some other separate metadata to fully
define its functionality. POJOs are considered good building blocks
for business logic, since the logic isn't dependent on a particular
deployment technology or development framework (portability)

* Data Object - something that holds data but does not provide
behaviour. So an Address (street, postcode, state, etc) could be a
data object with get() and set() methods but nothing else. A data
object may also be a domain object if it represents a concept from the
business domain. Then again, it could just represent a URL for a web
service endpoint, or a JDBC driver configuration.

For domain objects that are not persisted - I'm not aware of any
standard term. I've heard these kinds of things called "value objects"
(see Eric Evans), "derived objects", "calculated objects" and "object
views" ('view' is a heavily overloaded term, however)

Where your business + calculated objects live is entirely a function
of your architecture, not a result of correctly or incorrectly use.
Think of a web-based system - your business and calculated objects
almost certainly will live in the server, not inside the web browser;
but a rich GUI client may use a different approach.

Cheers
Mike



Mon May 28, 2007 10:34 pm

mikeburke1975
Offline Offline
Send Email Send Email

Forward
Message #6888 of 7353 |
Expand Messages Author Sort by Date

I find myself being confused by terms such as Business Object, Domain Object, POJO and Data Object. In many instances they all mean the same thing, right?...
Chris Murphy
c_jmurphy
Offline Send Email
May 27, 2007
11:25 pm

... I don't personally distinguish between Business and Domain objects, but perhaps someone else has a distinction that is meaningful. As far as I am...
Jon Seymour
js3ymour
Offline Send Email
May 27, 2007
11:53 pm

Hi Chris, Here's my interpretation, which is, of course, open to interpretation.. * Domain object - something representing a concept in the business domain....
Mike Burke
mikeburke1975
Offline Send Email
May 28, 2007
10:34 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help