Warning: Parameter 1 to Language::getMagic() expected to be a reference, value given in /home/wikija5/public_html/w/includes/StubObject.php on line 58
Talk:Using the Application context in Spring - WikiJava
Friday, 12th February 2016
Follow WikiJava on twitter now. @Wikijava

Talk:Using the Application context in Spring

From WikiJava

Jump to: navigation, search

Comments on Using the Application context in Spring <comments />


I'm plannin' to learn Spring and your article is great. Very well written.

Would you please explain me better the uses of the application context file?

--Alcor 16:30, 2 January 2009 (UTC)

Wow, that's an open question

Hi, Wow that's an open question, the application context can define everything within the Spring framework. From AOP to Web MVC to loads of other things. I recommend you a good reading on the Spring framework to get an answer to your question.

--DonGiulio 16:52, 3 January 2009 (UTC)


How can i instantiate Application Context?

--Santhosh 05:34, 18 May 2011 (PDT)

instantiate Application Context

Application Context is an interface, therefore it cannot be instantiated. What you can do is to instantiate one of the (non-abstract) classes that implement the application Context interface. In this example I used:

context = new FileSystemXmlApplicationContext(APPLICATION_CONTEXT_FILE);

but you can instantiate any other of the implementations. You can see a list of the default ones on the man page: here.

Hope this answers your question :)

--DonGiulio 11:35, 19 May 2011 (UTC)


Hi I gone through this article.and i found that this is very useful for the begineer


--Sunil 02:14, 19 July 2011 (PDT)