adspace


What is the difference between lazy loading and eager loading?

Answer Posted / Narendra Rajpoot

Eager loading loads all data immediately, regardless of whether it's needed or not. Lazy loading delays the loading of data until it's actually required by the application. This approach can improve performance by reducing initial load times but may lead to longer wait times for certain actions that require loaded data.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is lazy class?

490


What is difference between @controller and @restcontroller in spring?

556


How can you inject java collection in spring?

518