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
: Tag Libraries Users List
Subject: Re: and runtime expressions
only marginally relevant to this thread, I recently read arguments
against using Singletons in web apps:
http://wiki.apache.org/tomcat/OutOfMemory
Luca
Tarek Nabil wrote:
>Thanks a lot Kris for the explanation.
>
>Actual
tants,
reflection should NOT be needed. So, it's just like doing something
extra for no reason.
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 04, 2006 4:51 PM
To: Tag Libraries Users List
Subject: Re: and runtime expressions
Tarek Nabil wrote:
only marginally relevant to this thread, I recently read arguments
against using Singletons in web apps:
http://wiki.apache.org/tomcat/OutOfMemory
Luca
Tarek Nabil wrote:
Thanks a lot Kris for the explanation.
Actually, I'm starting to feel that moving to JSTL 1.0 was not such a
wise move
;
http://jsp-spec-public.dev.java.net/issues/show_bug.cgi?id=145
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Monday, April 03, 2006 5:57 PM
To: Tag Libraries Users List
Subject: Re: and runtime expressions
Tarek Nabil wrote:
So that means if I use the RT
on. I
mean, why isn't this supported by default? I believe this is a question
for the JSR experts to answer.
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Monday, April 03, 2006 5:57 PM
To: Tag Libraries Users List
Subject: Re: and runtime expressions
Tarek Nabil
27;s why the versions of the JSTL 1.0 taglibs that support EL evaluation
have attributes with rtexprvalue = false.
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Monday, April 03, 2006 6:26 AM
To: Tag Libraries Users List
Subject: Re: and runtime expressions
If
Users List
Subject: Re: and runtime expressions
If you need to run JSTL 1.0 and want to use JSP expressions as attribute
values, you need to use the "RT-based" versions. For JSTL, there are
basically two distinct versions of each taglib:
<%@ taglib prefix="c"u
If you need to run JSTL 1.0 and want to use JSP expressions as attribute
values, you need to use the "RT-based" versions. For JSTL, there are
basically two distinct versions of each taglib:
<%@ taglib prefix="c"uri="http://java.sun.com/jstl/core"; %>
<%@ taglib prefix="c_rt" uri="http://jav
11 matches
Mail list logo