I read the articles on DI and IOC. I like the idea of POJO injection etc.
I have configured different Actions into my project. Each Action acts a standalone unit to process the input params and return a json string.
Is it possible to register a different pojo to each action? This pojo will maintain a different state or will be (possibly) a different object depending on the action. For example each action/module maintains a different cache. So to configure/attach the appropriate cache object to the request before its action is called.
Anyone can guide or show me how it can be acheived in Mentwai?