I am working to make a design for developing a command
pattern in MVC web based application. I am using an ActionFactory whose static method is called from ServletController. Am i doing right. Should i use static method or do i create a one time object of ActionFactory in ServletController and call it non-static public method for getting the Action per request basis.
Also could you please let me know that is command pattern(behavioural) same as Factory Pattern(creational)?