Question: I am working on a web application that is used to print user receipts based on the supplied receipt number. I want to enhance it in such a way that when i supply receipt numbers from 1 to 100 it will print all 100 receipts. Is there any ways in Java to implement this. How can i implement this in Java ?

Answer: 
I currently am developing in the PHP framework Kohana (version 3). There is also a way to make models (for the (H)MVC pattern) very quickly using ORM. For more information look at this: <http://kohanaframework.org/guide/tutorials.orm> and take a look at <http://kohanaframework.org/guide/api> and <http://kohanaframework.org/download>
I`ve used Yii for a few projects. Need to say its extensions (backvendor <http://www.yiiframework.com/extension/backvendor/> and bootstrap <http://www.yiiframework.com/extension/bootstrap/>) really save time on the first stages of development