aspose file tools*
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
Author

Javabean

Tahir Ehsan
Greenhorn

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
Marshal

Joined: Jan 10, 2002
Posts: 60053
    
  65

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
how to use javabean dbconnection class in mvc
User validation
ResultSet needs connection?
java.sql.SQLException: Closed Connection
why we need javabeans?