aspose file tools*
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
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: 1382
How EJB's lazy loading is solved?
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1382
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>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB lazy loading