<?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: Injecting dependencies into a TransferObject</title>
	<atom:link href="http://www.ghidinelli.com/2008/01/09/injecting-dependencies-into-a-transferobject/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ghidinelli.com/2008/01/09/injecting-dependencies-into-a-transferobject</link>
	<description></description>
	<lastBuildDate>Thu, 01 Jun 2017 18:51:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: brian</title>
		<link>http://www.ghidinelli.com/2008/01/09/injecting-dependencies-into-a-transferobject/comment-page-1#comment-43091</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Thu, 10 Jan 2008 18:55:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/2008/01/09/injecting-dependencies-into-a-transferobject/#comment-43091</guid>
		<description>@Brian K - I hope the dynamic injector you sent Mark and Chris is released soon.  One problem with these frameworks is staying on top of changes can be difficult... especially since I&#039;m running BERs of everything here.  Although this injectorObserver method works, it does feel a little funky to be doing a case/switch on the class name. :)</description>
		<content:encoded><![CDATA[<p>@Brian K &#8211; I hope the dynamic injector you sent Mark and Chris is released soon.  One problem with these frameworks is staying on top of changes can be difficult&#8230; especially since I&#8217;m running BERs of everything here.  Although this injectorObserver method works, it does feel a little funky to be doing a case/switch on the class name. <img src='http://www.ghidinelli.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian</title>
		<link>http://www.ghidinelli.com/2008/01/09/injecting-dependencies-into-a-transferobject/comment-page-1#comment-43088</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Thu, 10 Jan 2008 17:39:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/2008/01/09/injecting-dependencies-into-a-transferobject/#comment-43088</guid>
		<description>@Brian R - I initially agreed with you.  I built my service layer very independent so nothing was too tightly coupled.  However, having read that thread on the MG list and talking with Brian K, Sean and others, I can see the benefit of &quot;smarter&quot; beans.  It certainly makes development easier but I also worry about dependencies.

Ultimately, if the getRegistrations() request is routed back through the service layer, then really all you&#039;ve done is created a shortcut from the member bean to the service layer which is a convenience. 

I still have some questions for Brian K and others that I&#039;ll post to the MG listserv this morning before I go crazy.</description>
		<content:encoded><![CDATA[<p>@Brian R &#8211; I initially agreed with you.  I built my service layer very independent so nothing was too tightly coupled.  However, having read that thread on the MG list and talking with Brian K, Sean and others, I can see the benefit of &#8220;smarter&#8221; beans.  It certainly makes development easier but I also worry about dependencies.</p>
<p>Ultimately, if the getRegistrations() request is routed back through the service layer, then really all you&#8217;ve done is created a shortcut from the member bean to the service layer which is a convenience. </p>
<p>I still have some questions for Brian K and others that I&#8217;ll post to the MG listserv this morning before I go crazy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Rinaldi</title>
		<link>http://www.ghidinelli.com/2008/01/09/injecting-dependencies-into-a-transferobject/comment-page-1#comment-43085</link>
		<dc:creator>Brian Rinaldi</dc:creator>
		<pubDate>Thu, 10 Jan 2008 17:03:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/2008/01/09/injecting-dependencies-into-a-transferobject/#comment-43085</guid>
		<description>I guess I see your point after giving it a little bit of thought. Perhaps its not such a bad design decision, though my gut still leans towards a user not knowing this. It just seems to me it is the registration systems job to know what classes people are signed up for and not a users job...but it is a gut reaction.</description>
		<content:encoded><![CDATA[<p>I guess I see your point after giving it a little bit of thought. Perhaps its not such a bad design decision, though my gut still leans towards a user not knowing this. It just seems to me it is the registration systems job to know what classes people are signed up for and not a users job&#8230;but it is a gut reaction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Kotek</title>
		<link>http://www.ghidinelli.com/2008/01/09/injecting-dependencies-into-a-transferobject/comment-page-1#comment-43084</link>
		<dc:creator>Brian Kotek</dc:creator>
		<pubDate>Thu, 10 Jan 2008 16:55:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/2008/01/09/injecting-dependencies-into-a-transferobject/#comment-43084</guid>
		<description>I have a fully dyanamic dependency injection observer for Transfer Objects that is in the hands of Mark and Chris Scott now. If they agree that it looks all right, it will either be included in the next version of ColdSpring or I&#039;ll put it up on RIAForge. It autowires your decorators without you having to do anything.

Brian, regarding your comment about beans talking to services, what is your concern with this? I do it all the time. It just means the beans can be smart. In this example, I&#039;d say it&#039;s perfectly fine to ask a user about their registrations. &quot;Hey Bob, what classes are you signed up for?&quot; as opposed to &quot;Hey Mr. Manager, what classes is that guy Bob signed up for?&quot;</description>
		<content:encoded><![CDATA[<p>I have a fully dyanamic dependency injection observer for Transfer Objects that is in the hands of Mark and Chris Scott now. If they agree that it looks all right, it will either be included in the next version of ColdSpring or I&#8217;ll put it up on RIAForge. It autowires your decorators without you having to do anything.</p>
<p>Brian, regarding your comment about beans talking to services, what is your concern with this? I do it all the time. It just means the beans can be smart. In this example, I&#8217;d say it&#8217;s perfectly fine to ask a user about their registrations. &#8220;Hey Bob, what classes are you signed up for?&#8221; as opposed to &#8220;Hey Mr. Manager, what classes is that guy Bob signed up for?&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Rinaldi</title>
		<link>http://www.ghidinelli.com/2008/01/09/injecting-dependencies-into-a-transferobject/comment-page-1#comment-43080</link>
		<dc:creator>Brian Rinaldi</dc:creator>
		<pubDate>Thu, 10 Jan 2008 13:58:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/2008/01/09/injecting-dependencies-into-a-transferobject/#comment-43080</guid>
		<description>Interesting. Though I am not sure I agree with the architecture. To me you would pass the user to the AttendeeService  and see what he is registered for. Seems like knowing his registrations is beyond the scope of what a user should know (plus I just don&#039;t like the idea of making a bean dependent on a service).</description>
		<content:encoded><![CDATA[<p>Interesting. Though I am not sure I agree with the architecture. To me you would pass the user to the AttendeeService  and see what he is registered for. Seems like knowing his registrations is beyond the scope of what a user should know (plus I just don&#8217;t like the idea of making a bean dependent on a service).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Marcotte</title>
		<link>http://www.ghidinelli.com/2008/01/09/injecting-dependencies-into-a-transferobject/comment-page-1#comment-43073</link>
		<dc:creator>Paul Marcotte</dc:creator>
		<pubDate>Thu, 10 Jan 2008 06:52:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/2008/01/09/injecting-dependencies-into-a-transferobject/#comment-43073</guid>
		<description>Thanks for posting this Brian.  I just finished a similar, but less robust, solution.  I like yours a *lot* more.</description>
		<content:encoded><![CDATA[<p>Thanks for posting this Brian.  I just finished a similar, but less robust, solution.  I like yours a *lot* more.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
