Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes EJB lazy loading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB lazy loading" Watch "EJB lazy loading" New topic
Author

EJB lazy loading

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1371
How EJB's lazy loading is solved?
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1371
Any update ?
Shrinivas Mujumdar
Ranch Hand

Joined: Aug 27, 2004
Posts: 328
What do you mean by lazy loading? can you explian with some example.

Regards
Shrinivas
Annie Smith
Ranch Hand

Joined: Mar 05, 2005
Posts: 172
Lazy loading in EJB means to load only related beans when you need to access those beans.

If you are using CMP, the lazy loading is managed by the container. Most of the containers provide an option to enable/disable them. For BMP, it has to be handled in the code.

I'd suggest you to take a look at Mastering EJB by Ed Roman, since it is available for download (Google for that) and I'm too lazy to type a code on-the-fly.


Cheers!<br /><b>Annie</b>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EJB lazy loading
 
Similar Threads
hibernate mapping and performance
Hibernate objects into JComboBox
Lazy loading
Caching
lazy loading