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

15.5. Garbage collection issues

It is the EJB container’s responsibility to handle garbage collection, or at least to ensure that unused objects are made available for garbage collection. In an ideal world, at no point should the developer have to be concerned about garbage collection, or explicitly free allocated resources. In fact—so the story goes—garbage collection is so much a nonissue for the developer that the EJB Specification does not mention the subject even once.

In reality, the EJB architecture has some characteristics that support and assist the use of garbage collection, and some that mitigate against it. The main factor in its favor is that there is, in most cases, no direct relationship between the number of clients and the number ...

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