The dawn of observability across the SDLC has fully disrupted standard performance monitoring and management practices. See why.
Apache Kafka: a streaming engine for collecting, caching, and processing high volumes of data in real time. Explore the essentials now.
Chief Editor at Red Hat
Charlotte, US
Joined Jul 2008
http://ocpsoft.com
Stats
Reputation: | 302 |
Pageviews: | 0 |
Articles: | 0 |
Comments: | 48 |
Comments
Jun 13, 2012 · Lincoln Baxter
Jun 12, 2012 · Lincoln Baxter
Feb 03, 2012 · Jonas Bandi
Feb 03, 2012 · Jonas Bandi
Sep 21, 2011 · Lincoln Baxter
Sep 21, 2011 · Lincoln Baxter
Jul 07, 2011 · James Sugrue
@Grzegorz - Not entirely true. You can directly control which beans are and are not scanned simply by using @Veto or by not including beans.xml in your jar, then adding beans one-by-one as you please. This is not hard to do, and is actually not a difference worth mentioning because with a trivial amount of configuration (yes, I said trivial!), Spring can do the same thing as CDI, and visa versa, perhaps with a few minor exceptions on both sides.
However, more importantly, this article ignores the more relevant subject of CDI extensions, which can change or control the entire function of the dependency injection container; it also ignores the Contexts (C in CDI) which are a huge differentiation between the two. Spring does have this concept, but it does not have the concept of binding beans, interceptors, and decorators to contexts and beans in a type-safe way.
Interceptors and Decorators are yet another difference between CDI and Spring. In addition to that, CDI provides a built-in lightweight publish-subscribe event bus which is *extremely* powerful.
You cannot ignore the differences if you are going to compare the similarities.
Jan 05, 2011 · Lincoln Baxter
Oct 14, 2010 · Peter Thomas
Oct 14, 2010 · Peter Thomas
Oct 14, 2010 · Peter Thomas
Oct 13, 2010 · Peter Thomas
Oct 05, 2010 · Christian Kaltepoth
Oct 03, 2010 · Cameron Mckenzie
Oct 03, 2010 · Cameron Mckenzie
Oct 03, 2010 · Cameron Mckenzie
Oct 03, 2010 · Cameron Mckenzie
Oct 03, 2010 · Cameron Mckenzie
Mar 18, 2010 · Lincoln Baxter
Mar 18, 2010 · Lincoln Baxter
Mar 18, 2010 · Lincoln Baxter
Mar 18, 2010 · Lincoln Baxter
Mar 18, 2010 · Lincoln Baxter
Feb 05, 2010 · Lincoln Baxter
Feb 01, 2010 · Muhammad Ali Khojaye
Feb 01, 2010 · Peter Stofferis
Jan 10, 2010 · Justin Sargent
Dec 09, 2009 · Lincoln Baxter
Dec 06, 2009 · Lincoln Baxter
Sep 20, 2009 · Ananth Chellathurai
May 15, 2009 · admin
May 12, 2009 · Steven Harris
May 12, 2009 · Derek Hollis
Jan 02, 2009 · Lincoln Baxter
Jan 02, 2009 · Lincoln Baxter
Dec 11, 2008 · Mr B Loid
Dec 11, 2008 · Lincoln Baxter
Dec 11, 2008 · Mr B Loid
Dec 11, 2008 · Mr B Loid
Dec 10, 2008 · Lincoln Baxter
Oct 10, 2008 · Lincoln Baxter
Sep 01, 2008 · Mr B Loid
Aug 18, 2008 · Lincoln Baxter
Aug 18, 2008 · Lincoln Baxter
Aug 04, 2008 · Lincoln Baxter
Jul 28, 2008 · aysther evenstar
Jul 27, 2008 · aysther evenstar
Jul 27, 2008 · Kirill Grouchnikov