Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6085745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:40:25+00:00 2026-05-23T11:40:25+00:00

One of the main advatage stated for Application Context is below :- Application contexts

  • 0

One of the main advatage stated for Application Context is below :-

Application contexts provide a means
for resolving text messages

Could somebody explain with brief example what does that mean?

Second is there any overhead of using Application contexts over BeanFactory as i have seen most of the application using BeanFactory?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:40:26+00:00Added an answer on May 23, 2026 at 11:40 am

    Here is the declaration of ApplicationContext:

    public interface ApplicationContext extends
        ListableBeanFactory,
        HierarchicalBeanFactory,
        MessageSource,
        ApplicationEventPublisher,
        ResourcePatternResolver {
    

    One of the interfaces it extends is MessageSource:

    Strategy interface for resolving messages, with support for the parameterization and internationalization of such messages.

    From MessageSource Javadoc. This means you can use application context as a message source for your application with I18N support. Spring has a small framework for resolving messages, pattern replacement, etc.

    With regards to your seconds question: you should always use the smallest possible interface you need. When you are injecting BeanFactory, it is probably an ApplicationContext, but there is no need to couple your class with such a huge abstraction. Just pick what you are going to use.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have WPF Application where I have One main form and other user controls
Background I'm configuring a custom WSS application that focuses around one main list. I
With a distributed application, where you have lots of clients and one main server,
we have one main application, which executes up to 5 different exes. These exes
I've got a Qt application that has two main windows. On Linux, when one
I got one main search field always visible at the site and a login
I have one main parent swf that loads several other swfs. If something happens
I have one main outstanding issue, I know now how to databind to lists
I have a WinForms TreeView with one main node and several sub-nodes. How can
I am loading/unloading several swfs from one main swf. When I load a new

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.