Trebor Carpenter wrote: > I haven't had time to play with this much yet, and I may be missing > something - but I believe there's a thread creation problem... > Formproc's FormManager spawns off a thread each time it's new'd, and > it looks like you're creating FormManager instances with every > session.
The way it's suppose to work is that the FormManager is cached in the application context and then reused. This is form
----
FormManager manager = (FormManager)
request.getSession().getServletContext().getAttribute(FORM_MANAGER_KEY);
if (null == manager) {
//:FIXME: FileManager should be pluggable and initialized on startup
// and seeded to the Maverick context
manager = new FormManager();
manager.loadConfiguration();
request.getSession().getServletContext().setAttribute(FORM_MANAGER_KEY, manager);
}
----
But, I'll step through it this afternoon to make sure it's being reused.
The stuff under CVS is still very early access. I'm just finishing my first complete iteration that uses it, and there are refinements yet to make.
-Ted.
------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 [INVALID FOOTER]