<?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: Solve the circular reference problem with Guice and Spring</title>
	<atom:link href="http://blog.jdevelop.eu/2009/10/15/solve-the-circular-reference-problem-with-guice-and-spring/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jdevelop.eu/2009/10/15/solve-the-circular-reference-problem-with-guice-and-spring/</link>
	<description>Under development by Siegfried Bolz</description>
	<pubDate>Tue, 07 Sep 2010 17:35:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: William Shulman</title>
		<link>http://blog.jdevelop.eu/2009/10/15/solve-the-circular-reference-problem-with-guice-and-spring/comment-page-1/#comment-225</link>
		<dc:creator>William Shulman</dc:creator>
		<pubDate>Wed, 06 Jan 2010 00:30:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jdevelop.eu/?p=382#comment-225</guid>
		<description>Hi-

There is another solution for Spring that does not require a proxy at all. Make the client and server object properties of each other rather that implementing this is a way that requires each as a constructor argument to the other (i.e. make no-arg constructors for ClientImpl and ServerImpl and have a 'client' property in Server and a 'server' property in Client. Then Spring will do the magic (of course you will need to make appropriate changes in the xml wiring so properties vs constructors are used).

-will</description>
		<content:encoded><![CDATA[<p>Hi-</p>
<p>There is another solution for Spring that does not require a proxy at all. Make the client and server object properties of each other rather that implementing this is a way that requires each as a constructor argument to the other (i.e. make no-arg constructors for ClientImpl and ServerImpl and have a &#8216;client&#8217; property in Server and a &#8217;server&#8217; property in Client. Then Spring will do the magic (of course you will need to make appropriate changes in the xml wiring so properties vs constructors are used).</p>
<p>-will</p>
]]></content:encoded>
	</item>
</channel>
</rss>
