How will you implement ApplicationContext in Spring framework?

Published: 30 May 2017
on channel: Knowledge Powerhouse
784
1

Q. How will you implement ApplicationContext in Spring framework?

ApplicationContext in Spring can be implemented in one of the following three ways:

FileSystemXmlApplicationContext: If we want to load the definitions of beans from an XML file then FileSystemXmlApplicationContext is used. The full path of XML bean configuration file is provided to the constructor.
ClassPathXmlApplicationContext: To loads the definitions of beans from an XML file in the CLASSPATH, we use ClassPathXmlApplicationContext. It is used for application context embedded in jars.

WebXmlApplicationContext: To provide configuration for a web application WebXmlApplicationContext is used. While the application is running, it is read only. But it can be reloaded if underlying application supports it.

Join the full course on Spring Interview Questions for just $10 today!

https://www.udemy.com/spring-intervie...

Source: www.knowledgepowerhouse.com


On this page of the site you can watch the video online How will you implement ApplicationContext in Spring framework? with a duration of hours minute second in good quality, which was uploaded by the user Knowledge Powerhouse 30 May 2017, share the link with friends and acquaintances, this video has already been watched 784 times on youtube and it was liked by 1 viewers. Enjoy your viewing!