File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Javabean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Javabean" Watch "Javabean" New topic


Tahir Ehsan

Joined: Apr 18, 2006
Posts: 9
We use javabean with jsp for the separation of application logic from presentation logic. I want to ask that when we use servlets as middle tier, then either we have to make database connection in each servlet or can we use any other way by which we dont have to make db connection again and again?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63844

Most real-world web application developers will use container-managed connection pooling.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Javabean
jQuery in Action, 3rd edition