Difference Bean Factory and Application Context
Application Context
|
Bean
Factory
|
Application Context supports
annotation based configuration
|
Bean
factory does not supports annotation based configuration
|
Application context can publish events to the bean
which are registered as listeners
|
Listener
are not supported by the Bean Factory
|
Supports internationalization
message
|
Does
not supports internationalization
|
By default it supports aggressive loading
|
By
default it supports lazy loading
|

FileSystemXmlApplicationContext Beans loaded through the full path.ClassPathXmlApplicationContext Beans loaded through the CLASSPATHXMLWebApplicationContext and AnnotationConfigWebApplicationContext beans loaded through the web application context.AnnotationConfigApplicationContext Loading Spring beans from Annotation based configuration.
Difference Bean Factory and Application Context
Reviewed by Mukesh Jha
on
1:14 AM
Rating:

No comments:
Add your comment