wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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: 60800

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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: Javabean
Similar Threads
why we need javabeans?
ResultSet needs connection?
how to use javabean dbconnection class in mvc
java.sql.SQLException: Closed Connection
User validation