Kris Schneider wrote:
The implication that the example singleton class causes a memory leak
just because "...it creates a hard reference to a class instance into
the class itself" is hard to believe. There are plenty of other ways
to pin classes loaded by the web app's class loader, but the si
The implication that the example singleton class causes a memory leak just
because "...it creates a hard reference to a class instance into the class
itself" is hard to believe. There are plenty of other ways to pin classes
loaded by the web app's class loader, but the singleton pattern isn't on
Tarek Nabil wrote:
Thanks a lot Luca for pointing this out. I must say it's completely new
information to me. I wonder if it's really accurate and relevant to all
containers.
For example, in Oracle Containers for Java (OC4J), when you redeploy an
application, the OC4J instance is restarted. You
Thanks a lot Luca for pointing this out. I must say it's completely new
information to me. I wonder if it's really accurate and relevant to all
containers.
For example, in Oracle Containers for Java (OC4J), when you redeploy an
application, the OC4J instance is restarted. You can reload an
applica