Your suggestion is definitely the way I'm leaning, based on the responses I've gotten today. I just had to confirm that there wasn't some other alternative out there.
Thanks. Jay > -----Original Message----- > From: Stone Consultants [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 25, 2002 2:41 PM > To: [EMAIL PROTECTED] > Subject: Re: Model 2 questions > > > Why can't the custom tags do the work of loading the data and > displaying > the results? I haven't written a custom tag, but can't they > be designed > to persist data within the same request so a subsequent call from the > same page won't result in a fresh query? > > I may be wrong, but it seems that even if you have the controller > execute the queries to populate the data, they won't be > parallel, unless > you spawn new threads for each of the db tasks, a technique which I've > seen described as "risky". > > Q > ------------------------------------------ > Quinn Stone > Stone Consultants > Alameda, CA > telephone: 510.865.7342 > e-mail: [EMAIL PROTECTED] > http://www.stoneconsultants.com > > > -----Original Message----- > > From: A mailing list for discussion about Sun Microsystem's > > Java Servlet API Technology. > > [mailto:[EMAIL PROTECTED]] On Behalf Of Jay Burgess > > Sent: Thursday, April 25, 2002 12:11 PM > > To: [EMAIL PROTECTED] > > Subject: Re: Model 2 questions > > > > > > No. The "application" is predefined, in advance, by the app > > developer. The app consists of one or more JSPs, all > > interlinked, that display database info as tables and charts. > > When a user logs into the app, he/she migrates through the > > pages, looking at the values shown by the tables and charts > > at that point in time. When the data changes in the > > database, the "views" provided by the webapp will change the > > next time a given JSP is accessed. And there may be many of > > these apps, all consisting of different numbers of JSPs, > > where every JSP shows different tables differently. However, > > there are still just two custom tags - "display table X as a > > table" and "display table X as a chart". > > > > Whew...I thought I had such a simple question, but I'm really > > having trouble explaining myself. :) I appreciate > > everyone's input though. > > > > Jay ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
