To the OOP, Java and Patterns buffs out there
I have an Swing application. I have defined an action to be used by a menu and a button on a toolbar. Of course the action os going to do something, but here comes my doubt. Where should I put the businnes logic: in the Action class or should I put it in another class and instantiate that class from the Action?
Have the action call another class or 'service layer'.
I agree with Koz.
Fog Creek Home