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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

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 #6887 of 7353 |
Re: [ajug] calculated object

On 5/28/07, Chris Murphy <chris@...> wrote:
>
> 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? Certainly the last three are all the same thing, I think.

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 concerned, the only difference is that a business person might
understand what you mean by a Business Object but they may have no
clue what you mean by Domain Object.

POJO, on the other hand, does have a particular meaning. As the name
"plain-old-java-object" suggests it is an object that is not strongly
coupled to a framework: i.e. not an EJB. This is orthogonal to whether
it is a Domain Object or a Data Object.

The distinction between Data Object and Domain Object is helpful - a
Domain Object is an object which takes on responsibility for
maintaining the consistency and integrity of its own state - it
encodes the "business" rules of the object, whereas a Data Object is
simply a container for data and doesn't have any logic associated with
it. Domain Objects generally have methods that do things other than
simply set and get its properties. Simple rule: Domain Objects usually
have non-trivial responsibilities, Data Objects don't.

Regards,

jon.



Sun May 27, 2007 11:47 pm

js3ymour
Offline Offline
Send Email Send Email

Forward
Message #6887 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