hi greeting,
For creating google suggestion kind of functionality ( on key press retrive a list of results) :
1) query the SQL table and fetching the records(using JDBC) every time based on key press.
2) fetch the records made to objects , put in a list and serialized already. on key press deserialize that list, manipulate the list(check for startswith()) and showing the results.
which approach is best
thanks in advance
Sridhar