RE: c:set and runtime expressions

2006-04-05 Thread Tarek Nabil
Thanks Kris. Very valuable information indeed. I like the filter idea, or as one of the links you listed suggests, a context listener would also do the trick. Personally, I have nothing against reflection, in fact, I think it's one of the greatest features ever, but when it comes to constants,

RE: c:set 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

Re: c:set 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.

Re: c:set 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 one