R
Rizwan
Hi guys,
I am working on a system where I am using Hibernate. I have defined the
POJOs and then a DAO layer. So I dont need the Entity Beans.
My concern is how to define the Session Beans. There are 3 big use cases in
my project (managing shifts, managing tasks and building templates from
shifts and tasks). Should I define 3 Session Beans or 1 Session for all 3
use cases?
I also want to use the SessionFacade pattern. So should I create 4 Session
Beans: 1 for Facade and 3 for the use cases or 2 Session Beans: 1 for Facade
and 1 for the 3 use cases? What are the performance issues I should be
concerned about.
Thanks for your help
Rizwan
I am working on a system where I am using Hibernate. I have defined the
POJOs and then a DAO layer. So I dont need the Entity Beans.
My concern is how to define the Session Beans. There are 3 big use cases in
my project (managing shifts, managing tasks and building templates from
shifts and tasks). Should I define 3 Session Beans or 1 Session for all 3
use cases?
I also want to use the SessionFacade pattern. So should I create 4 Session
Beans: 1 for Facade and 3 for the use cases or 2 Session Beans: 1 for Facade
and 1 for the 3 use cases? What are the performance issues I should be
concerned about.
Thanks for your help
Rizwan