Hello,
can anybody give me some hints about best practices to seperate an application into modules and the implementation with hibernate?
E.g. i have a core-Module which defines a person
class person {
getName...
getAddress...
...
}
The second module should define the hobbies of the person (set of hobbies).
The third module should define the career of the person (set of jobs, date of first job).
I want to avoid dependencies from the core module to the other modules. So i don't want to add getHobbies(), getJobs() and getFirstJobDate() to the person class.
Thanks
Andreas
|