lazy loading in a ejb, jpa
Hi all,
I am about developing an JEE web application and I needed to implement what is do called lazy loading or pagination, I did some search and I found that JPA contains annotation to mark the fields of an entity as Lazy in fetchType and in the ejb you have to load entity object by page. I couldn't understand clearly and get confused when I have to pass the page size I want to load to the ejb session from my managed bean and also, with mocks in the project and interfaces to implements, it is really a jungle I got really CONFUSED and miss understanding of the hole thing.
Please if anybody has a tutorial, a book, a web page that gives anything about my subject, I will be so thankful.
thanks for any help,
Rashid, best Regards