Scott Selikoff wrote:But is this a good practice?
That Depends. Personally, I like to keep CRUD methods together and have a naming convention so I can easily trace the execution flow like so:
CustomerAction -> CustomerLogic -> CustomerDAO -> CustomerTableInDatabase
There's nothing inherently wrong with creating seperate actions for CRUD functions.
Scott Selikoff wrote:
Is it ok to not have an execute command?
Sure. That's a welcome feature in
Struts 2 as opposed to Struts 1