Back Forum Reply New

question about domain classes

I was thinking of the precise meaning of domain classes and it is not 100% clear to me.

Is each Entity class that is mapped (with hibernate) on a corresponding table a domain class?

Because I have also a log table and want to map Log objects.
And what about a banner table. I also want to create a Banner object for my view page.

Are these domain classes? And do they come in the same domain package as the other domain classes?
For example: org.example.app.domain ?

If not in what kind of package do they come?

This is probably a good description.
eaaCatalog/domainModel.html

As of view related classes I tend to separate those from the business classes.

There should be a business layer which consists of classes containing business data and the operations on it (this is where Karl's example fits in).
Classes for visualizing data are in another logical layer and should thereforde be packaged accordingly.

Regards,
Andreas
¥
Back Forum Reply New