JBoss Community

Re: Please I need an Java API to implement saved-search feature.

created by Peter Johnson in Beginner's Corner - View the full discussion

Any tutorial on storing data in a database should do. You probably need a table with 2 or 3 columns: userid, timestamp, searchText. The timestamp is used if you want to limit the number of stored searches (remember only the last 10 searches) you will be able to determine which search to delete when the user enters the 11th search.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community