Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DispatchAction VS LookupDispatchAction VS EventDispatchAction VS MappingDispatchAction

 
Satyajeet Kadam
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Q1) What is difference between these classes DispatchAction VS LookupDispatchAction VS EventDispatchAction VS MappingDispatchAction?

As far as i understand there is one common thing in these classes is that :
All these classes are used to group logical related functions into single Action class.

LookupDispatchAction is used instead of DispatchAction when there is need to internationalized button names. So we implement getMethodkey() to
find appropraite method based on message key.

Q2) When we must go for EventDispatchAction,MappingDispatchAction? how they differ from other 2 classes(i.e DispatchAction and LookupDispatchAction)?

 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What did your examination of the Javadocs tell you?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic