[jboss-user] [JBoss Seam] - Re: Seam & Services management
do-not-reply at jboss.com
Mon Feb 11 15:12:36 EST 2008
Make them Seam components and use them as you wish. In general, I think you'll find that you can define your entire application in terms of those "service layer" things and write very little in terms of glue code. (the "action" layer, as you describe it) Where you can't, you simply layer your application. There's absolutely nothing tricky about any of this.
As to the DAO issue, I think you'll find in Seam that if you are doing anything tricky you'll want to use some sort of controller object to manage your entities. That's what the EntityHome and EntityQuery objects do in Seam. If you are forced to over-architect your application, you'll probably end up either modifying your DAOs to actually perform some useful functions in the context of Seam or creating a controller of some sort that delegates off to your DAO.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128477#4128477
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128477
More information about the jboss-user