[jboss-user] [JBoss Seam] - Re: ..:: Questions about Seam design!!!

bfo81 do-not-reply at jboss.com
Fri Sep 15 12:46:53 EDT 2006

I didn't say you CANNOT use DAOs anymore. I just said you CAN leave them out (in many cases).

Look at the AppFuse framework (Spring + Hibernate):

- Entity class
- DAO interface
- DAO implementation
- Manager interface
- Manager implementation
- Backing bean for presentation layer


Same in Seam:

- Entity class
- Controller local interface
- Controller stateful bean

Yes, of course, there are many special cases. When using huge shared databases or whatever, then use DAOs. But in many cases it's not necessary.

Be courageous and don't use patterns you don't need just because others use to use them ;).

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971977#3971977

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971977

More information about the jboss-user mailing list