I have a screen for employees with 2000 records, I want to display record by record when I press the "next button", I make a query "select * from employees" and put the result of the ResultSet variable in screen, that's fine,but what happens I have 2000 records in memory for only see 5 or 10, that is baddly programmed and the perfomance of the system will be always down, is there a way with Java and Mysql where I can serialize in line with the data base, I mean that if I click the "next button" I dont read from the ResultSet but the data base.