My requirement is something like how the data is handled by the search engine sites.

In my project at the front end level, for some search conditions, there may be lakhs of records will be selected from the database through session bean. But, I don't want to select all these lakhs of rows and bring it into front end and display them. Instead, first 25 records will be shown to the client and the link (like 1 2 3 4 ...) will be shown for the rest of the record. I don't want to load the application server also by selecting all these records one time and keeping them in the server. When ever the person click on a particular link, the corresponding number of records should be selected from the database and given to the client.

We are using weblogic server. I need your kind help to achieve this data streaming functionality.

Thanks in advance,