----- Original Message -----
From: Aaron Sani <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 29, 1999 7:08 AM
Subject: Is servlets the best thing for this application?
> 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.
>
>
Javascript is very good at manipulation the Browser objects, sucks at sort
algorthims. It lacks Hash tables ect. The best you get is an array. The
loose types with Java script do not lend them selfs to a sort algorthim.
You end up comparing 00000101 as a string type.
If its a simple reordering and not a true sort you may be able to get away
with it.
I would suggest a Java Server page if it's not very much. A servlet if you
really need performance.
Gerald Staruiala,
NE Information Systems Inc.
___________________________________________________________________________
> 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