I apologize for firing away so many questions over the past week, but I feel like I am about to grasp this whole project layout and I just want to push it over the top while I am on a role.
I have been studying roller and appfuse extensively. While there are similarities, I also notice a decent amount of differences. Most notably you seperate the ejb data access from the business data access (the managers). I have read in several books about the need for such a seperation. One of the goals of this seperation seems to be to seperate the model from the view and to allow the transfer of data from the DTO to the ActionForm to be used in the view. This way, I assume that any extra view methods can be added to the ActionForm. However, what I am confused about is why you don't use UserFormEx in these methods as opposed to the autogenerated UserForm. It would seem that you cannot take advantage of the extra methods at this point.
The other question I had concerned your use of the open-session-in-view pattern. Obviously Roller falls victim of the criticism you mentioned on your blog about how opening and closing the session in each DAO method was incorrect. However, in your startup listener and your action filter you handle a Hibernate Exception. Do you feel that this ties your choice of DAO too close to the implementation?
One thing I like that Roller does that you do not do in appfuse is to put the DAOHibernate classes in a seperate folder for called hibernate/. It just seems like this directory could start to get crowded with all the different implementations. Do you think it is an uneccessary indirection or a good idea?
Dan
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Struts-apps mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/struts-apps
