Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

lazy loading in a ejb, jpa

REDO LOGMar 27 2013 — edited Apr 5 2013
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 3 2013
Added on Mar 27 2013
4 comments
2,891 views