I am confused with These terms, i am not coming out with examples or accurate results while studying these
Could please share me an example to explain these terms, or how to understand them
Lightweight Objects:
I am getting it in AWT language. But how generally it could be explained?
A heavyweight component is one that is associated with its own native screen resource (commonly known as a peer).
A lightweight component is one that "borrows" the screen resource of an ancestor (which means it has no native resource of its own -- so it's "lighter").
Does, in general, this means object of Derived Class is Lightweight Object?
Even when we read following statement:
An entity is a lightweight persistence domain object.
Lightweight means? It borrows something from ancestor which means? it does not have it ows? correct?
Business and Domain Objects
Are these EXACTLY same?
as i read
A business object usually does nothing itself but holds a set of instance variables or properties, also known as attributes, and associations with other business objects, weaving a map of objects representing the business relationships.
Like i am making application which process one record from database, for that it calls web service and put data into database. I Just declared one object which is handling all this, so it would be termed as Business object?
as i also read
business objects and domain objects are collections of properties, modelled after the real-world entities you want to manage with your application
Which means both are same?
Domain should be like object dealing with particular domain type like i take example object having Medical knowledge only have different components of object having Non medical knowledge. So in total both are business objects and each are domain too
Please suggest me about these!!!
Could please share me an example to explain these terms, or how to understand them
Lightweight Objects:
I am getting it in AWT language. But how generally it could be explained?
A heavyweight component is one that is associated with its own native screen resource (commonly known as a peer).
A lightweight component is one that "borrows" the screen resource of an ancestor (which means it has no native resource of its own -- so it's "lighter").
Does, in general, this means object of Derived Class is Lightweight Object?
Even when we read following statement:
An entity is a lightweight persistence domain object.
Lightweight means? It borrows something from ancestor which means? it does not have it ows? correct?
Business and Domain Objects
Are these EXACTLY same?
as i read
A business object usually does nothing itself but holds a set of instance variables or properties, also known as attributes, and associations with other business objects, weaving a map of objects representing the business relationships.
Like i am making application which process one record from database, for that it calls web service and put data into database. I Just declared one object which is handling all this, so it would be termed as Business object?
as i also read
business objects and domain objects are collections of properties, modelled after the real-world entities you want to manage with your application
Which means both are same?
Domain should be like object dealing with particular domain type like i take example object having Medical knowledge only have different components of object having Non medical knowledge. So in total both are business objects and each are domain too
Please suggest me about these!!!