Hi all:

I have been studying the BasePgActionC class and have a basic
question.   What BasePgActionC seems to be doing is gathering all the
"main code" in the various action classes together and cleverly using
reflection in the dispatchEvents method to call  the appropriate method:
say, onSaveExc, or onZoomExec, etc.  I'd like to know what the
advantages of this approach are.

One thing I like very much about in what I think is the more
"traditional" struts approach is the fact that the Action classes are
separated and each achieves just one thing.  For example SaveAction
would only worry about saving, "ListUsersAction" only about listing
users etc.  Am I missing something basic?

Thanks,
Geeta

_______________________________________________
MVC-Programmers mailing list
[EMAIL PROTECTED]
http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers

Reply via email to