This week's book giveaways are in the Jython/Python and Object-Oriented programming forums. We're giving away four copies each of Machine Learning for Business: Using Amazon SageMaker and Jupyter and Object Design Style Guide and have the authors on-line! See this thread and this one for details.
I have a webapp using the MVC pattern. For the front-end I was thinking about creating an application-wide controller... in that this single controller would take all requests from browsers, and then send them off to other internal servlets for processing with their own respective models. After the results are found, they would be passed along with the uri for the appropriate view would be returned to the application servlet which would then return to the browser.
My question is if it is feasible to apply a Facade to the MVC pattern? And secondly, is this too much overhead just to support those functions? I want to ensure security as well and this seems better in that I can keep my internal servlets private.
I've had trouble passing parameters and attributes from servlet to servlet before, is this a bad practice?
It's clear I have much to learn, and I'm really intrigued with the Front Controller and Command pattern. Do you have sample code I code look at? While I understand what is going on, the front controller is a little unclear to me.
Thanks again, Jason [ March 26, 2007: Message edited by: Jason Kwok ]
Self destruct mode activated. Instructions for deactivation encoded in this tiny ad.