wood burning stoves
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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
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: 62127

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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
rocket mass heater kickstarter
subject: Javabean