Web tier: servlets, JSP, Web frameworks: How Many Actions and How ?
- Posted by: Amir Hossein Hormati
- Posted on: September 24 2003 15:05 EDT
I'm working on Learning management system, we have about 15 CMPs and a proxy session as a session facade , i want to know what is the logic behind selecting number of struts actions in this situation ? we sould have one action for each entity or we shoud have one action for each of our roles [ we have 4 security roles ], please help me , how can i find out which actions i should have ?
Thanks a lot
Actions can be derived from use cases. As a very general rule, you can initially baseline a design with a 1:1:1 correspondance between use case flow, JSP, and action. Then you challenge and refine that model.
See whether the action methods in this note gives any hints: