I am reading about difference between BeanFactory
and ApplicationContext
, but everywhere it is only mentioned that:
- former doesn't support internationalization while later supports
- and another is ability to publish event to beans that are registered as listener
I couldn't find explanation using code example, could someone please through light on this using a code example.
UPDATE: Please note that I know that it is better to use "ApplicationContext" but I want this for my learning purpose.