Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • ApplicationContext VS BeanFactory

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 304
    Comment on it

    BeanFactory VS ApplicationContext:- The Both BeanFactory and ApplicationContext can initialize the Spring IOC Container. They Both are Java Interfaces and ApplicationContext can extends the BeanFactory. BeanFactory Inteface can only provide basic IOC and DI features but the ApplicationContext Interface is provide both basic IOC and DI features and also can have advanced Enterprise features.

    • BeanFactory doesn't support the internationalization(I18N) but ApplicationContext can support.

    • BeanFactory doesn't support the annotation based DI. Like @autowired,@postConstruct but ApplicationContext can do that.

    • BeanFactory can initialize the bean lazy loading whereas, ApplicationContext can initialize bean quickly.

    • ApplicationContext can supprort Enterprise feature like JNDI,EJB Integration and RMI(Remoting) but BeanFactory not do these task.

    • Using ApplicationContext we can specify more than one Config(.xml) file but In BeanFactory we can specify only one config file.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: