i think you'll have a bit more flexibility as your model changes/grows
if you do this dynamically in java. there are a couple of approachs to
manage the performance issue with which you should test/tune till your
specific criteria is met.

one approach could be to access this data via a cache manager (one
is described in the "Patterns in Java" by Mark Grand book) which
could be tuned to manage syncronization to the shared resource and,
if appropriate, cache popular configurations. that way, only initial requests
pay the penalty of configuration creations, etc.

i think going all static is a bit problematic.

hope this helps,

- james

Martin Kuba wrote:

> Aaron Sani wrote:
> >
> > I have a 5 by 200 table or data that will need to be sorted by column and
> > may have to be updateable....
> > Are Servlets the answer? or Javascript (for sorting)? The text could be
> > read in from a tab delimited text file/CGI combination rather than
> > implementing a DB2 -- JDBC - SERVLET solution.  I am new to SERVLETS.
> > Suggestions and how-to (sample code) would be greatly appreciated...
> >
> > Thanks for your time.
>
> If you will output every time the whole table and data are in a static
> file, it would be best to make several static HTML documents
> instead of generating the table on the fly.
>
> Martin
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    INET, a.s.                          Mgr. Martin Kuba
> Kralovopolska 139                  e-mail: [EMAIL PROTECTED]
>   601 12 Brno                      WWW: http://www.inet.cz/~makub/
>  Czech Republic                    tel: +420-5-41242414/33
> --------------------------------------------------------------------
> PGP fingerprint = D8 57 47 E5 36 D2 C1 A1  C3 48 B2 59 00 58 42 27
>  http://wwwkeys.cz.pgp.net:11371/pks/lookup?op=index&search=makub
> --------------------------------------------------------------------
>
> ___________________________________________________________________________
> 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

___________________________________________________________________________
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

Reply via email to