[java ee programming] Delegate and DAO layers with EJB 3.0

2011-07-04 Thread Baqar Naqvi
We are designing a simple web application, and have decided to use EJB 3.0 in it. We will use JPA for persistence with the session facade patterns. As I cannot discuss the application's business I have mentioned the relevant patterns that are being used. Given this I am trying to figure out

Re: [java ee programming] Delegate and DAO layers with EJB 3.0

2011-07-04 Thread Oh Chin Boon
Hi baqar, yes, you should have this delegate layer, it is called a business delegate design pattern, it abstracts the caller from underlying logic of retrieving a connection to whatever the business tier might be, be it ejb 3, 2.1 or spring. The idea is also to allow any caller a standard way