This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am currently developing a web application and trying to implement FrontController design pattern. FrontController delegates incoming requests to a RequestHelper, the helper intern creates a command based on the url-pattern. The command executes and returns the next view. My problem is When the command executes it gets a list of items for view, the client selects one of the items for further processing. When the user selects an item it generates a new command based on the url-pattern and the list is no more accessible. How to keep the list even after executing a new command. I dont want to use a "HttpSession" or "ServletContext". Is there any alternative or a pattern for preserving the list for feature. Please help me.