Am quite confused since last few days about Context object pattern.
My question is "Is ActionForm class in Struts an implementation of Command pattern or Context Object pattern? "
Action classes is an implementation of Command pattern as what I understand. Then ActionForm class implements which pattern?
Does Command object encapsulates the web user HTTPRequest information or do I need to show a seperate class called "Form" which acts as a placeholder for user request information?
Need help from you guys. I know lot of questions, one after another. Appreciate your help.
Thanks & Regards, Ajaz
SCJP (310-035) 84% | SCEA 91%
Hong Anderson
Ranch Hand
Joined: Jul 05, 2005
Posts: 1936
posted
0
It's a Context Object.
Which "command" that cannot be executed? [ March 10, 2008: Message edited by: Kengkaj Sathianpantarit ]
SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: ActionForm (Context Object Or Command pattern?)