<?xml version="1.0"?>
<rss version="2.0">
<channel>

  
<title>JavaGeek.org - Accessing a Spring bean from a servlet</title>
<link>http://javageek.org/2005/09/23/accessing_a_spring_bean_from_a_servlet.html</link>
<description>I&#039;m using Ajaxtags to implement an ajax-enabled form with dynamic dropdown fields. In order to access my DAO object (which is a Spring managed bean) to get the dropdown options, I had to have access to the Application context from a regular Servlet.The ...</description>
<language>en</language>
<managingEditor>Guillermo Castro</managingEditor>
<lastBuildDate>Tue, 20 Jul 2010 22:18:48 GMT</lastBuildDate>
  
  

  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>Re: Accessing a Spring bean from a servlet</title>
    <link>http://javageek.org/2005/09/23/accessing_a_spring_bean_from_a_servlet.html#comment1282293560061</link>
    <description>
      Re: singleton bean. See http://static.springsource.org/spring/docs/1.2.9/reference/beans.html#beans-factory-modes
    </description>
    <author>Ashley Walton</author>
    <comments>http://javageek.org/2005/09/23/accessing_a_spring_bean_from_a_servlet.html#comments</comments>
    <guid isPermaLink="true">http://javageek.org/2005/09/23/accessing_a_spring_bean_from_a_servlet.html#comment1282293560061</guid>
    <pubDate>Fri, 20 Aug 2010 08:39:20 GMT</pubDate>
  </item>
  
  <item>
    <title>Re: Accessing a Spring bean from a servlet</title>
    <link>http://javageek.org/2005/09/23/accessing_a_spring_bean_from_a_servlet.html#comment1279664328781</link>
    <description>
      If I&#039;m not mistaken new instance will be created when you say context.getBean(&#034;daoBeanName&#034;);

This means, this is stateless (prototype).   Please correct me is I&#039;m wrong. If this is true how do we create a singleton instance?
    </description>
    <author>Nirwana</author>
    <comments>http://javageek.org/2005/09/23/accessing_a_spring_bean_from_a_servlet.html#comments</comments>
    <guid isPermaLink="true">http://javageek.org/2005/09/23/accessing_a_spring_bean_from_a_servlet.html#comment1279664328781</guid>
    <pubDate>Tue, 20 Jul 2010 22:18:48 GMT</pubDate>
  </item>
  
  <item>
    <title>Re: Accessing a Spring bean from a servlet</title>
    <link>http://javageek.org/2005/09/23/accessing_a_spring_bean_from_a_servlet.html#comment1268891493211</link>
    <description>
      Thanks a lot .......it helped :)
    </description>
    <author>Anonymous</author>
    <comments>http://javageek.org/2005/09/23/accessing_a_spring_bean_from_a_servlet.html#comments</comments>
    <guid isPermaLink="true">http://javageek.org/2005/09/23/accessing_a_spring_bean_from_a_servlet.html#comment1268891493211</guid>
    <pubDate>Thu, 18 Mar 2010 05:51:33 GMT</pubDate>
  </item>
  
  </channel>
</rss>
