<?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 - Article: Programmatic DI with Abstract  Factories</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 15:21:40 -0400</pubDate>


    <item>

        <title>Re: Article: Programmatic DI with Abstract  Factories</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=48976</link>

        

        
            <description><![CDATA[As I just began to read this article, I just stopped how the author is given an exemple about the implementation of a singleton:...]]></description>
        

        <pubDate>Fri, 13 Jun 2008 18:42:09 -0400</pubDate>

        

        <jf:creationDate>Fri, 13 Jun 2008 18:42:09 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 13 Jun 2008 18:42:09 -0400</jf:modificationDate>
        <jf:date>Jun 13, 2008</jf:date>
        <jf:author>guy kaisin</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: Bijection</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=48976</link>

        

        
            <description><![CDATA[The issue is whether a IoC container/framework is necessary for independency injection. In other words, is using third-party frameworks - XML-based or programmatic, a better solution than manually injecting dependency with the help of design pattern like...]]></description>
        

        <pubDate>Fri, 18 Apr 2008 08:38:05 -0400</pubDate>

        

        <jf:creationDate>Fri, 18 Apr 2008 08:38:05 -0400</jf:creationDate>
        <jf:modificationDate>Fri, 18 Apr 2008 08:38:05 -0400</jf:modificationDate>
        <jf:date>Apr 18, 2008</jf:date>
        <jf:author>Danny Hui</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Bijection</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=48976</link>

        

        
            <description><![CDATA[Doesn't the idea of bijection totally solve this problem?  :)]]></description>
        

        <pubDate>Thu, 17 Apr 2008 19:21:54 -0400</pubDate>

        

        <jf:creationDate>Thu, 17 Apr 2008 19:21:54 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 17 Apr 2008 19:21:54 -0400</jf:modificationDate>
        <jf:date>Apr 17, 2008</jf:date>
        <jf:author>Chris Wash</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Re: Article: Programmatic DI with Abstract Factories</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=48976</link>

        

        
            <description><![CDATA[<blockquote>I do not see anywhere in Guice User Guide that mentions how the application specific checked exception is handled. As for local stateful objects with dynamic parameters, you do offer a solution (How do I pass a parameter when creating an...]]></description>
        

        <pubDate>Thu, 17 Apr 2008 12:52:12 -0400</pubDate>

        

        <jf:creationDate>Thu, 17 Apr 2008 12:52:12 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 17 Apr 2008 12:52:12 -0400</jf:modificationDate>
        <jf:date>Apr 17, 2008</jf:date>
        <jf:author>Bob Lee</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>Re: It is not Abstract Factory DP</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=48976</link>

        

        
            <description><![CDATA[The main difference between Factory Method DP and Abstract Factory DP is that the former creates objects of the same type (i.e. one product), while the latter creates objects of different types (i.e. multiple products). I use Abstract Factory DP in this...]]></description>
        

        <pubDate>Thu, 17 Apr 2008 12:49:22 -0400</pubDate>

        

        <jf:creationDate>Thu, 17 Apr 2008 12:49:22 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 17 Apr 2008 12:49:22 -0400</jf:modificationDate>
        <jf:date>Apr 17, 2008</jf:date>
        <jf:author>Danny Hui</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>It is not Abstract Factory DP</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=48976</link>

        

        
            <description><![CDATA[yes, you have abstract factory as part of your design, but you are using Factory Method DP. In order to have Abstract Factory DP, you have to have at least 2 different factories implementations of same abstract class and then separate manager class is...]]></description>
        

        <pubDate>Thu, 17 Apr 2008 10:58:22 -0400</pubDate>

        

        <jf:creationDate>Thu, 17 Apr 2008 10:58:22 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 17 Apr 2008 10:58:22 -0400</jf:modificationDate>
        <jf:date>Apr 17, 2008</jf:date>
        <jf:author>Alexander Shvets</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Exactly our thinking: why MBs for something so simple?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=48976</link>

        

        
            <description><![CDATA[We went down the exact same track and created a programmatic Dependency Injection that also provides a tiny framework for the 'exposed POJO model' pattern and to put the icing on the cake it provides an wrapper around the key transparent persistence...]]></description>
        

        <pubDate>Thu, 17 Apr 2008 04:24:49 -0400</pubDate>

        

        <jf:creationDate>Thu, 17 Apr 2008 04:24:49 -0400</jf:creationDate>
        <jf:modificationDate>Thu, 17 Apr 2008 04:24:49 -0400</jf:modificationDate>
        <jf:date>Apr 17, 2008</jf:date>
        <jf:author>Chris Golfman</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: Why use Spring… if you have a HashMap at hand?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=48976</link>

        

        
            <description><![CDATA[Dependency Injection Without Frameworks...]]></description>
        

        <pubDate>Wed, 16 Apr 2008 17:29:47 -0400</pubDate>

        

        <jf:creationDate>Wed, 16 Apr 2008 17:29:47 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 16 Apr 2008 17:29:47 -0400</jf:modificationDate>
        <jf:date>Apr 16, 2008</jf:date>
        <jf:author>Casual Visitor</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Why use Spring… if you have a HashMap at hand?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=48976</link>

        

        
            <description><![CDATA["Maybe the problem with both Spring and Guice is a flaw in the Dependency Injection pattern itself. It looks nice in the simple UML diagrams used to describe the concept, but it gets harder when the number of classes and components increases."...]]></description>
        

        <pubDate>Wed, 16 Apr 2008 16:46:09 -0400</pubDate>

        

        <jf:creationDate>Wed, 16 Apr 2008 16:46:09 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 16 Apr 2008 16:46:09 -0400</jf:modificationDate>
        <jf:date>Apr 16, 2008</jf:date>
        <jf:author>Casual Visitor</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>Re: Purpose of the article?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=48976</link>

        

        
            <description><![CDATA[<blockquote>No, DI is not hard (and in my opinion it is grossly overrated), but its not worth being reinvented yet again either.</blockquote>...]]></description>
        

        <pubDate>Wed, 16 Apr 2008 16:21:20 -0400</pubDate>

        

        <jf:creationDate>Wed, 16 Apr 2008 16:21:20 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 16 Apr 2008 16:21:20 -0400</jf:modificationDate>
        <jf:date>Apr 16, 2008</jf:date>
        <jf:author>Danny Hui</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: Article: Programmatic DI with Abstract Factories</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=48976</link>

        

        
            <description><![CDATA[<blockquote><blockquote><br>This approach is especially suitable for such scenarios as creating local stateful objects with dynamic parameters, handling checked exceptions thrown during object creation, and dynamically wiring up objects. IoC frameworks,...]]></description>
        

        <pubDate>Wed, 16 Apr 2008 15:54:14 -0400</pubDate>

        

        <jf:creationDate>Wed, 16 Apr 2008 15:54:14 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 16 Apr 2008 15:54:14 -0400</jf:modificationDate>
        <jf:date>Apr 16, 2008</jf:date>
        <jf:author>Danny Hui</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>


    <item>

        <title>Re: Purpose of the article?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=48976</link>

        

        
            <description><![CDATA[You have a abstract factory class (or interface). In you application code, you have an implementation of that factory. To do unit test, you simply extends/implement the...]]></description>
        

        <pubDate>Wed, 16 Apr 2008 15:26:53 -0400</pubDate>

        

        <jf:creationDate>Wed, 16 Apr 2008 15:26:53 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 16 Apr 2008 15:26:53 -0400</jf:modificationDate>
        <jf:date>Apr 16, 2008</jf:date>
        <jf:author>Danny Hui</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: Purpose of the article?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=48976</link>

        

        
            <description><![CDATA[<blockquote>Then you enjoy all the benefits of DI. I do not see that object creation and wiring-up by a IoC container makes a big didfference.</blockquote>...]]></description>
        

        <pubDate>Wed, 16 Apr 2008 12:06:39 -0400</pubDate>

        

        <jf:creationDate>Wed, 16 Apr 2008 12:06:39 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 16 Apr 2008 12:06:39 -0400</jf:modificationDate>
        <jf:date>Apr 16, 2008</jf:date>
        <jf:author>Karl Banke</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>Re: Article: Programmatic DI with Abstract Factories</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=48976</link>

        

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

        <pubDate>Wed, 16 Apr 2008 11:28:12 -0400</pubDate>

        

        <jf:creationDate>Wed, 16 Apr 2008 11:28:12 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 16 Apr 2008 11:28:12 -0400</jf:modificationDate>
        <jf:date>Apr 16, 2008</jf:date>
        <jf:author>Bob Lee</jf:author>
        <jf:replyCount>4</jf:replyCount>
    </item>


    <item>

        <title>Re: Purpose of the article?</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=48976</link>

        

        
            <description><![CDATA[The purpose of this article is to demonstrate that IoC container cannot solve all dependency injection problems in a simple way. Actually after years of experiences and erperiments with different IoC containers, my conclusion is that IoC or Dependency...]]></description>
        

        <pubDate>Wed, 16 Apr 2008 11:11:21 -0400</pubDate>

        

        <jf:creationDate>Wed, 16 Apr 2008 11:11:21 -0400</jf:creationDate>
        <jf:modificationDate>Wed, 16 Apr 2008 11:11:21 -0400</jf:modificationDate>
        <jf:date>Apr 16, 2008</jf:date>
        <jf:author>Danny Hui</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>



</channel>
</rss>

