Hi folks!
I'm still overwhelmed with other priorities (new job,
house-hunting, moving, etc.) to be able to help again,
but I managed over the last day or so to get caught up
with the list (for the most part - skipped some major
threads along the way).
On tag-pooling: I am +1 on implementing a tag-cache
on a per-page basis and tag-pooling on an application
basis. If/when we move to the interfaces and toolkit
metaphor I proposed for Jasper34, then page-based
caching can best be done by enabling access to a
tag-cache via the page-life-cycle handler, the
JspPageHandler interface.
I am very much -1 on basing any sort of caching or
pooling relative to the request thread using
thread-local variables because it assumes the Thread
will be pooled and reused - this may not be true in
all containers and Jasper should be
container-independent.
Basically, one should think in terms of what temporal
and access scope different objects have: request,
page, application, etc. The JspPageHandler persists
between requests for a page and should be used to
represent access to objects and services concerned
with the life-cycle of a page beyond one request, such
as modification checking, name mangling,
recompilation/loading as needed and clearly,
tag-object caching. Thus, it seems logical that tags
could be retrieved via either directly from methods
on the page handler or from a tag cache manager object
retrieved from the page handler.
Casey, do you see any problems following such a
general design philosophy? You are the lord gawd of
the tag-pooling code, so I will defer to your
judgement.
The source for the JasperToolkit and associated
interfaces is still currently under
jakarta-tomcat/src/jasper34/ and needs to be moved
(along with the contents of
jakarta-tomcat/proposals/jasper34) to
jakarta-tomcat-jasper. Unfortunately, I am not going
to be able to do this for at least a couple of weeks
or more (my jakarta dev environment is 300 miles
away!). I am chomping at the bit to resume coding on
this, but alas, life has it's priorities. I'm going
to delay asking Brian for new passwords until I can
move my network up here with me so I won't have access
to the repositories until then.
I will try to at least stay caught up with the
developments via this list.
Cheers,
Dr. Mel Martinez
Extreme Blue/Cambridge
IBM
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/