<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - Injecting Mock Beans Into Spring Context</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Sat, 25 May 2013 03:29:30 -0400</pubDate>


    <item>

        <title>Loose Coupling</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=63160</link>

        

        
            <description><![CDATA[<p>Loose coupling manifests itself differetly in different types of systems. &nbsp;Interfaces with injected implementaitons do provide a level of loose coupling, but as the application model gets more distrubuted (we connect to more services,...]]></description>
        

        <pubDate>Mon, 07 Nov 2011 17:41:46 -0500</pubDate>

        

        <jf:creationDate>Mon, 07 Nov 2011 17:41:46 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 07 Nov 2011 17:41:46 -0500</jf:modificationDate>
        <jf:date>Nov 7, 2011</jf:date>
        <jf:author>Ross Mason</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>DI is an AntiPattern</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=63160</link>

        

        
            <description><![CDATA[<p><br/>Coupling is a relatively well understood concept:<a class="jive-link-external" href="http://en.wikipedia.org/wiki/Coupling_%28computer_science%29" target="_newWindow">http://en.wikipedia.org/wiki/Coupling_%28computer_science%29</a></p>...]]></description>
        

        <pubDate>Wed, 26 Oct 2011 15:05:42 -0400</pubDate>

        

        <jf:creationDate>Wed, 26 Oct 2011 15:05:42 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 26 Oct 2011 15:05:42 -0400</jf:modificationDate>
        <jf:date>Oct 26, 2011</jf:date>
        <jf:author>Ragnar Westad</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>DI is an AntiPattern</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=63160</link>

        

        
            <description><![CDATA[<blockquote>...]]></description>
        

        <pubDate>Wed, 26 Oct 2011 13:34:05 -0400</pubDate>

        

        <jf:creationDate>Wed, 26 Oct 2011 13:34:05 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 26 Oct 2011 13:34:05 -0400</jf:modificationDate>
        <jf:date>Oct 26, 2011</jf:date>
        <jf:author>R.J. Byron</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>&quot;To solve the problem ...&quot;</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=63160</link>

        

        
            <description><![CDATA[<blockquote>...]]></description>
        

        <pubDate>Wed, 26 Oct 2011 12:44:48 -0400</pubDate>

        

        <jf:creationDate>Wed, 26 Oct 2011 12:44:48 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 26 Oct 2011 12:44:48 -0400</jf:modificationDate>
        <jf:date>Oct 26, 2011</jf:date>
        <jf:author>Pavel Grushetzky</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>DI-AntiPattern</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=63160</link>

        

        
            <description><![CDATA[<p>&gt;&gt;"One service referencing another service by interface, is that strongly coupled?"</p>...]]></description>
        

        <pubDate>Wed, 26 Oct 2011 12:28:32 -0400</pubDate>

        

        <jf:creationDate>Wed, 26 Oct 2011 12:28:32 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 26 Oct 2011 12:28:32 -0400</jf:modificationDate>
        <jf:date>Oct 26, 2011</jf:date>
        <jf:author>Ragnar Westad</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>DI-AntiPattern</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=63160</link>

        

        
            <description><![CDATA[<p>"Quite the contrary. Loose Coupling means that a component doesn't know and depend on other components and therefore also needs no 'injected' dependencies."</p>
<p>Could you elaborate more on this. Maybe an example would do it?</p>]]></description>
        

        <pubDate>Wed, 26 Oct 2011 11:21:47 -0400</pubDate>

        

        <jf:creationDate>Wed, 26 Oct 2011 11:21:47 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 26 Oct 2011 11:21:47 -0400</jf:modificationDate>
        <jf:date>Oct 26, 2011</jf:date>
        <jf:author>Tsolak Petrosian</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Spring is so popular that a majority knows it</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=63160</link>

        

        
            <description><![CDATA[<p>I wonder how many answers I can see if the question is about CDI, JSF, Seam ...</p>]]></description>
        

        <pubDate>Wed, 26 Oct 2011 09:59:53 -0400</pubDate>

        

        <jf:creationDate>Wed, 26 Oct 2011 09:59:53 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 26 Oct 2011 09:59:53 -0400</jf:modificationDate>
        <jf:date>Oct 26, 2011</jf:date>
        <jf:author>Thai Dang Vu</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>DI-AntiPattern</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=63160</link>

        

        
            <description><![CDATA[<p>You can only 'inject' dependencies because the dependencies are already in your design. You wouldn't need dependency injection if you had no dependencies.</p>...]]></description>
        

        <pubDate>Wed, 26 Oct 2011 09:46:15 -0400</pubDate>

        

        <jf:creationDate>Wed, 26 Oct 2011 09:46:15 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 26 Oct 2011 09:46:15 -0400</jf:modificationDate>
        <jf:date>Oct 26, 2011</jf:date>
        <jf:author>R.J. Byron</jf:author>
        <jf:replyCount>4</jf:replyCount>
    </item>


    <item>

        <title>&quot;To solve the problem ...&quot;</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=63160</link>

        

        
            <description><![CDATA[<p>I agree with you. In fact is the developer who writes testable code or not, not using one technology or another. It is true that some technologies can help you, but anyway all is in your hands.</p>]]></description>
        

        <pubDate>Wed, 26 Oct 2011 06:57:46 -0400</pubDate>

        

        <jf:creationDate>Wed, 26 Oct 2011 06:57:46 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 26 Oct 2011 06:57:46 -0400</jf:modificationDate>
        <jf:date>Oct 26, 2011</jf:date>
        <jf:author>Alex Soto</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>&quot;To solve the problem ...&quot;</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=63160</link>

        

        
            <description><![CDATA[<blockquote>...]]></description>
        

        <pubDate>Wed, 26 Oct 2011 06:46:07 -0400</pubDate>

        

        <jf:creationDate>Wed, 26 Oct 2011 06:46:07 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 26 Oct 2011 06:46:07 -0400</jf:modificationDate>
        <jf:date>Oct 26, 2011</jf:date>
        <jf:author>pellep</jf:author>
        <jf:replyCount>6</jf:replyCount>
    </item>


    <item>

        <title>&quot;To solve the problem ...&quot;</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=63160</link>

        

        
            <description><![CDATA[<blockquote>...]]></description>
        

        <pubDate>Wed, 26 Oct 2011 04:43:58 -0400</pubDate>

        

        <jf:creationDate>Wed, 26 Oct 2011 04:43:58 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 26 Oct 2011 04:43:58 -0400</jf:modificationDate>
        <jf:date>Oct 26, 2011</jf:date>
        <jf:author>R.J. Byron</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>&quot;To solve the problem ...&quot;</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=63160</link>

        

        
            <description><![CDATA[<p>As I said in post I prefer not to inject mocks into Spring Context, I prefer designing classes for better test. But I could understand that something could find this useful, and for this reason I decided to investigate and post about it.</p>...]]></description>
        

        <pubDate>Wed, 26 Oct 2011 02:05:02 -0400</pubDate>

        

        <jf:creationDate>Wed, 26 Oct 2011 02:05:02 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 26 Oct 2011 02:05:02 -0400</jf:modificationDate>
        <jf:date>Oct 26, 2011</jf:date>
        <jf:author>Alex Soto</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>&quot;To solve the problem ...&quot;</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=63160</link>

        

        
            <description><![CDATA[<blockquote>...]]></description>
        

        <pubDate>Tue, 25 Oct 2011 17:17:42 -0400</pubDate>

        

        <jf:creationDate>Tue, 25 Oct 2011 17:17:42 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 25 Oct 2011 17:17:42 -0400</jf:modificationDate>
        <jf:date>Oct 25, 2011</jf:date>
        <jf:author>Pavel Grushetzky</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>


    <item>

        <title>&quot;To solve the problem ...&quot;</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=63160</link>

        

        
            <description><![CDATA[<p>DI injects dependencies but doesn't prevent dependencies. Quite the contrary: DI fosters strongly coupled designs which basically are untestable by UnitTests. Dependencies are bad, injected dependencies are by no means better. Instead of 'mock...]]></description>
        

        <pubDate>Tue, 25 Oct 2011 14:30:50 -0400</pubDate>

        

        <jf:creationDate>Tue, 25 Oct 2011 14:30:50 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 25 Oct 2011 14:30:50 -0400</jf:modificationDate>
        <jf:date>Oct 25, 2011</jf:date>
        <jf:author>R.J. Byron</jf:author>
        <jf:replyCount>11</jf:replyCount>
    </item>


    <item>

        <title>Injecting Mock Beans Into Spring Context</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=63160</link>

        

        
            <description><![CDATA[<p>Any reason you want to do this type of a test instead of just unit testing your classes separately and injecting mocks into them?&nbsp;</p>]]></description>
        

        <pubDate>Tue, 25 Oct 2011 11:54:13 -0400</pubDate>

        

        <jf:creationDate>Tue, 25 Oct 2011 11:54:13 -0400</jf:creationDate>
        <jf:modificationDate>Tue, 25 Oct 2011 11:54:13 -0400</jf:modificationDate>
        <jf:date>Oct 25, 2011</jf:date>
        <jf:author>Tsolak Petrosian</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>



</channel>
</rss>

