I read from Manning
JSP book that I can create a db connection object and set it as an attribute of the application object so this db connection can be shared by all JSPs and All users of this application.
My question is, what is going to happen when there is concurrent access to the db connection, say, multiple users queries/updates the database through this db connection at the same time? If this setup works, then what is the point to implement connection pooling?
Thanks for your words of wisdom.
Arnold