[infinispan-dev] A better fix for Immutables

Manik Surtani manik at jboss.org
Thu Sep 24 06:50:13 EDT 2009


On 24 Sep 2009, at 08:44, Bela Ban wrote:

>
>
> Jason T. Greene wrote:
>> Dependencies have significant impact on public projects. Every
>> dependency added is another possible version conflict with someone's
>> environment. You are also locked into whatever that dependency  
>> does, so
>> if you need to fix/customize something in the dep, you sometimes  
>> have to
>> patch and ship your own version. It also annoys users when a project
>> they uses sucks in N libraries, which each include N more, ad  
>> infinitum.
>
> +1000
>
> For my taste, Infinispan has way too many dependencies already !

Most of the deps you see are optional, based on which cache stores,  
etc. you use.

For a basic runtime, the deps are fairly limited (JTA interfaces,  
JGroups, JBoss Marshalling if you are using JDK6.  Add JAXB if JDK5)

>
>
>> So every dep needs to offer significant functionality to justify its
>> existence, and a few small collection classes don't really do that.
>
> Exactly
>
>> Whereas depending on something like a network communication layer,  
>> that
>> is over a hundred thousand lines of code makes sense.
>
> Ha ha got you :-)
>
>
> -- 
> Bela Ban
> Lead JGroups / Clustering Team
> JBoss
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org







More information about the infinispan-dev mailing list