JMX (Java Management Extensions) Question:

What is lazy initialization?

Tweet Share WhatsApp

Answer:

Bean is not allocated until it is actually needed - dependency injected - or requested via getBean(). specify lazy="true" (false by default). Only useful if bean genuinely may never be used in most runs of the application.

Download JMX PDF Read All 30 JMX Questions
Previous QuestionNext Question
What is a nested bean?What is a cross-cutting concern?