Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Differentiate between singleton and prototype bean?

Anjali Sharma answered on January 8, 2023 Popularity 2/10 Helpfulness 1/10

Contents


More Related Answers

  • Does spring bean in Singleton scope are thread-safe?
  • How can beans be made singleton or prototype?
  • How is Spring’s singleton bean different from Gang of Four Singleton Pattern?

  • Differentiate between singleton and prototype bean?

    0

    Singleton means only one bean is defined per object instance while Prototype means one definition to more than one object instances in Spring.

    https://www.geeksforgeeks.org/singleton-and-prototype-bean-scopes-in-java-spring/

    Popularity 2/10 Helpfulness 1/10 Language javascript
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Jan 08 2023
    Anjali Sharma
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.