In an application that follows the MVC Architecture, we want to implement the Business Delegate and Session Facade
patterns.
The flow we have decided is as follows:
Any request from the
JSP is routed to the Controller
Servlet. The Servlet will talk to a Business Delegate, which in turn will delegate the call to a Session Facade. The Session Facade decides (it contains the Session Bean lookup logic plus the Business Logic) which Session Bean to talk to. The Session bean in turn will lookup the Entity bean that will talk to the Database.
The outbound response will follow the revesre path.
DO YOU THINK THIS WILL BE AN EFFICIENT DESIGN? PL ADVISE.