|
INTERVIEW QUESTIONS
J2EE
SPRINGS
DETAILS
Question: What is the difference between Bean Factory and Application Context ?
Answer: On the surface, an application context is same as a bean factory. But application context offers much more..
* Application contexts provide a means for resolving text messages, including support for i18n of those messages.
* Application contexts provide a generic way to load file resources, such as images.
* Application contexts can publish events to beans that are registered as listeners.
* Certain operations on the container or beans in the container, which have to be handled in a programmatic fashion with a bean factory, can be handled declaratively in an application context.
* ResourceLoader support: Spring’s Resource interface us a flexible generic abstraction for handling low-level resources. An application context itself is a ResourceLoader, Hence provides an application with access to deployment-specific Resource instances.
* MessageSource support: The application context implements MessageSource, an interface used to obtain localized messages, with the actual implementation being pluggable
|
|
|
Category |
Springs Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 6644 users |
Added on |
9/23/2014 |
Views |
71499 |
Rate it! |
|
|
Question:
What is the difference between Bean Factory and Application Context ?
Answer:
On the surface, an application context is same as a bean factory. But application context offers much more..
* Application contexts provide a means for resolving text messages, including support for i18n of those messages.
* Application contexts provide a generic way to load file resources, such as images.
* Application contexts can publish events to beans that are registered as listeners.
* Certain operations on the container or beans in the container, which have to be handled in a programmatic fashion with a bean factory, can be handled declaratively in an application context.
* ResourceLoader support: Spring’s Resource interface us a flexible generic abstraction for handling low-level resources. An application context itself is a ResourceLoader, Hence provides an application with access to deployment-specific Resource instances.
* MessageSource support: The application context implements MessageSource, an interface used to obtain localized messages, with the actual implementation being pluggable Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is Application Context?
|
View Answer
|
|
What is Bean Factory ?
|
View Answer
|
|
What are the types of Dependency Injection Spring supports?
|
View Answer
|
|
How many modules are there in Spring? What are they?
|
View Answer
|
|
What are features of Spring ?
|
View Answer
|
|
What are the advantages of Spring framework?
|
View Answer
|
|
What is Spring ?
|
View Answer
|
|
What are the benefits of IOC (Dependency Injection)?
|
View Answer
|
|
What are the different types of IOC (dependency injection) ?
|
View Answer
|
|
What is IOC (or Dependency Injection)?
|
View Answer
|
|
Explain about integration of spring with AspectJ?
|
View Answer
|
|
Explain about transaction management in spring?
|
View Answer
|
|
Explain about exception wrapping?
|
View Answer
|
|
Explain about the different ways in which Spring JDBC can help you?
|
View Answer
|
|
Explain the three different methods which are provided by the Namespace Handler interface?
|
View Answer
|
|
Explain about auto wire support?
|
View Answer
|
|
Explain about how to deploy applications using POJOs?
|
View Answer
|
|
Explain why an organization needs to implement spring framework?
|
View Answer
|
|
Explain about dependency injection?
|
View Answer
|
|
Explain about inversion control behavior?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Springs Interview Questions & Answers - Exam Mode /
Learning Mode
|