go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  3 Ways to Define Spring Bean
 
Subject: 3 Ways to Define Spring Bean
Author: WebSpider
Posted on: 10/20/2019 10:53:45 PM


Like Java bean, a Spring bean is just POJO class which can be instantiated by Spring IoC Container. There are three ways to define Spring bean:

  • XML configuration based bean
  • Java configuration based bean
  • Annotation based bean


    Replies:


    References:

  •  


     
    Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
     
    Get your own forum today. It's easy and free.