Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Javabean

 
Tahir Ehsan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64692
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most real-world web application developers will use container-managed connection pooling.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic