<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Access the Spring-ApplicationContext from everywhere in your Application</title>
	<atom:link href="http://blog.jdevelop.eu/2008/07/06/access-the-spring-applicationcontext-from-everywhere-in-your-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jdevelop.eu/2008/07/06/access-the-spring-applicationcontext-from-everywhere-in-your-application/</link>
	<description>Under development by Siegfried Bolz</description>
	<pubDate>Sun, 05 Feb 2012 09:47:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jani</title>
		<link>http://blog.jdevelop.eu/2008/07/06/access-the-spring-applicationcontext-from-everywhere-in-your-application/comment-page-2/#comment-405</link>
		<dc:creator>Jani</dc:creator>
		<pubDate>Mon, 28 Nov 2011 04:03:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jdevelop.eu/?p=154#comment-405</guid>
		<description>Solved my problem:)

Good post and thanks a lot.</description>
		<content:encoded><![CDATA[<p>Solved my problem:)</p>
<p>Good post and thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Owen</title>
		<link>http://blog.jdevelop.eu/2008/07/06/access-the-spring-applicationcontext-from-everywhere-in-your-application/comment-page-2/#comment-393</link>
		<dc:creator>Owen</dc:creator>
		<pubDate>Fri, 23 Sep 2011 16:08:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jdevelop.eu/?p=154#comment-393</guid>
		<description>Awsome!</description>
		<content:encoded><![CDATA[<p>Awsome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stef</title>
		<link>http://blog.jdevelop.eu/2008/07/06/access-the-spring-applicationcontext-from-everywhere-in-your-application/comment-page-2/#comment-384</link>
		<dc:creator>Stef</dc:creator>
		<pubDate>Thu, 01 Sep 2011 08:32:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jdevelop.eu/?p=154#comment-384</guid>
		<description>Hi there,

You don't need to implement ApplicationContextAware. Using a basic Singleton pattern that is initialized in your main class would work much better for a non Spring-MVC application.

If you have a web application and use Spring-MVC, you can easily autowire your services inside your controllers and thus have access to them. You will likely never need to work directly with ApplicationContext object directly.

Cheers, Stef.</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>You don&#8217;t need to implement ApplicationContextAware. Using a basic Singleton pattern that is initialized in your main class would work much better for a non Spring-MVC application.</p>
<p>If you have a web application and use Spring-MVC, you can easily autowire your services inside your controllers and thus have access to them. You will likely never need to work directly with ApplicationContext object directly.</p>
<p>Cheers, Stef.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gooly</title>
		<link>http://blog.jdevelop.eu/2008/07/06/access-the-spring-applicationcontext-from-everywhere-in-your-application/comment-page-2/#comment-380</link>
		<dc:creator>Gooly</dc:creator>
		<pubDate>Mon, 29 Aug 2011 18:30:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jdevelop.eu/?p=154#comment-380</guid>
		<description>All that doesnt work if 2 web-applications are using the spring container, because of the Class Loaders e.g. in Tomca, is there any solution to 2 or more webapps that want to share their ApplicationContext? Because I get linkage problems because ApplicationCOntext is loaded by different WebCLassLoaders and hence are never the same. ANY hints?</description>
		<content:encoded><![CDATA[<p>All that doesnt work if 2 web-applications are using the spring container, because of the Class Loaders e.g. in Tomca, is there any solution to 2 or more webapps that want to share their ApplicationContext? Because I get linkage problems because ApplicationCOntext is loaded by different WebCLassLoaders and hence are never the same. ANY hints?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suresh Siva</title>
		<link>http://blog.jdevelop.eu/2008/07/06/access-the-spring-applicationcontext-from-everywhere-in-your-application/comment-page-2/#comment-378</link>
		<dc:creator>Suresh Siva</dc:creator>
		<pubDate>Tue, 23 Aug 2011 10:57:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jdevelop.eu/?p=154#comment-378</guid>
		<description>@Bolz.....
This is a very good idea...
Thanks a lot...</description>
		<content:encoded><![CDATA[<p>@Bolz&#8230;..<br />
This is a very good idea&#8230;<br />
Thanks a lot&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zolou</title>
		<link>http://blog.jdevelop.eu/2008/07/06/access-the-spring-applicationcontext-from-everywhere-in-your-application/comment-page-2/#comment-375</link>
		<dc:creator>Zolou</dc:creator>
		<pubDate>Thu, 11 Aug 2011 15:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jdevelop.eu/?p=154#comment-375</guid>
		<description>Another happy customer :)</description>
		<content:encoded><![CDATA[<p>Another happy customer :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan</title>
		<link>http://blog.jdevelop.eu/2008/07/06/access-the-spring-applicationcontext-from-everywhere-in-your-application/comment-page-2/#comment-373</link>
		<dc:creator>Stefan</dc:creator>
		<pubDate>Tue, 09 Aug 2011 10:48:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jdevelop.eu/?p=154#comment-373</guid>
		<description>Hi Siegfried Bolz 
Nice one, It works out of the box ;-)
I am currently setting up my junit tests. I have a separate spring configuration for the tests.
From my Test class, in my setUp method I call; ApplicationContextProvider().getBean("beanName"); but the ApplicationContext is always null!!

Do you have any hints ;-)

regards</description>
		<content:encoded><![CDATA[<p>Hi Siegfried Bolz<br />
Nice one, It works out of the box ;-)<br />
I am currently setting up my junit tests. I have a separate spring configuration for the tests.<br />
From my Test class, in my setUp method I call; ApplicationContextProvider().getBean(&#8221;beanName&#8221;); but the ApplicationContext is always null!!</p>
<p>Do you have any hints ;-)</p>
<p>regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anoop</title>
		<link>http://blog.jdevelop.eu/2008/07/06/access-the-spring-applicationcontext-from-everywhere-in-your-application/comment-page-2/#comment-361</link>
		<dc:creator>Anoop</dc:creator>
		<pubDate>Thu, 23 Jun 2011 12:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jdevelop.eu/?p=154#comment-361</guid>
		<description>Hello Bolz

Thanks!!! It was a very helpful solution.

@Kal, thanks for your comment also.</description>
		<content:encoded><![CDATA[<p>Hello Bolz</p>
<p>Thanks!!! It was a very helpful solution.</p>
<p>@Kal, thanks for your comment also.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blacky</title>
		<link>http://blog.jdevelop.eu/2008/07/06/access-the-spring-applicationcontext-from-everywhere-in-your-application/comment-page-2/#comment-359</link>
		<dc:creator>Blacky</dc:creator>
		<pubDate>Fri, 17 Jun 2011 22:52:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jdevelop.eu/?p=154#comment-359</guid>
		<description>Very n1ce! Exactly what i need! Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Very n1ce! Exactly what i need! Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SAMPATH</title>
		<link>http://blog.jdevelop.eu/2008/07/06/access-the-spring-applicationcontext-from-everywhere-in-your-application/comment-page-2/#comment-357</link>
		<dc:creator>SAMPATH</dc:creator>
		<pubDate>Sat, 21 May 2011 13:58:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jdevelop.eu/?p=154#comment-357</guid>
		<description>Thanks alot for this post.......</description>
		<content:encoded><![CDATA[<p>Thanks alot for this post&#8230;&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

