thanks,Jeanne.
Say, in a web application (no
EJB layer), for MVC model, the controller(filter or
servlet) will delegate the requests to corresponding model, and the model will do the business, like getting the date from database, then, my question is:
Where should we keep the connection pool? in controller or in model.
If we keep the connection pool in controller, I think it might be easy to manage all the connection in one class(not sure). but we have to pass the connection reference to the model. this seems violating the isolation.
[ March 20, 2007: Message edited by: damu liu ]