O'Reilly logo

Applied Enterprise JavaBeans™ Technology by Kevin Boone

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8.7. Connection management and pooling

8.7.1. The need for connection management

An enterprise application may employ many EJBs, each supported by many instances of the EJB implementation class. Between them these implementations may open and close connections to external resources very rapidly. This leads to two problems. First, opening and closing database connections is computationally expensive. It typically takes a second or two to establish a new connection to a commercial-grade database server, which gives an idea of the amount of work that’s going on behind the scenes. Second, there is often a limitation on the number of database connections that can be open simultaneously, since each consumes significant resources; there may also be ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required