R
Ravi Shankar Nair
Hi all,
Rather than making a db query all the time, I am considering the design of
stroing a huge table( with 12 columns and may be about 500 rows) in some
data structure , during start-up of my servlet. Memory is not a constraint,
thats why we hare going for such an implementation. Please help for some
questions below:-
1) Whats the best ADT or Data Structure for doing this?
2) In order to reduce the number of rows and ease manipulation, is it better
to have an HttpBindinngListener which will strone the info about the user
who had logged in and corresponding values/rows for that user?
3)Any other way ?
Thanks for your time and advice.
BEst regards,
Ravi
Rather than making a db query all the time, I am considering the design of
stroing a huge table( with 12 columns and may be about 500 rows) in some
data structure , during start-up of my servlet. Memory is not a constraint,
thats why we hare going for such an implementation. Please help for some
questions below:-
1) Whats the best ADT or Data Structure for doing this?
2) In order to reduce the number of rows and ease manipulation, is it better
to have an HttpBindinngListener which will strone the info about the user
who had logged in and corresponding values/rows for that user?
3)Any other way ?
Thanks for your time and advice.
BEst regards,
Ravi