two more approaches worth considering:
one:
Convert the result set obtained at the session bean to a 2-D string array
and return it to the servlet. Now on, the servlet manipulates this 2-D array
as needed. String arrays generally suffice for these sort of bulk 'lookups'.
Also,this frees the session bean from being stateful.
two:
Don't stop even at the servlet. Pass on the entire 2-D string array to the
jsp. Now for pagination at the jsp, group 'n' records per page into separate
tables. Then, by exposing one table and hiding all the rest, instantaneous
pagination can be achieved at the cost of transferring the entire search
result at one go. This also means the webserver takes fewer hits.
comments invited
thanks
sriram
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".