Re: and runtime expressions

2006-04-05 Thread Luca Passani
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

Re: and runtime expressions

2006-04-05 Thread Kris Schneider
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

Re: and runtime expressions

2006-04-05 Thread Luca Passani
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

RE: and runtime expressions

2006-04-05 Thread Tarek Nabil
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