Archive

Posts Tagged ‘Spring’

Dependency Injection is overrated?

13 January 2009 Leave a comment

This post http://www.artima.com/forums/flat.jsp?forum=106&thread=238700 is one of the most pragmatic articles about Dependency Injection I have ever read. It’s very grateful to know that you are not alone in this world.

I recommend picking an eye to the whole article (it’s very short in fact), but the conclusion Ian wrote is the following:

“Despite the cosmetic differences between the Service Locator Pattern and Dependency Injection, the two are functionally quite similar. The biggest difference between them is not what can be accomplished, or even accomplished easily, but rather the style of programming that each requires. The Service Locator Pattern is a code-focused approach; when an instance of a service is needed, code explicitely calls out to a service locator to obtain it. In contrast, Dependency Injection is a more extralinguistic approach, providing clients their dependencies without any explicit action on the clients behalf.”

Thanks for everyting Ian. Very good post.

Categories: Uncategorized Tags: ,

Treasure about AOP

17 December 2008 Leave a comment

I have been very busy doing my job (well, this is the reason I get paid for) and this blog has been abandoned for a while. A colleague of mine told me yesterday, thx Rober, “this is not serious” so today I have the purpose of following writing on a twitter mode in case of not having enough time to write a full article. Please, forgive me.

Well, landing this writing, one of my responsibilities at job is to define architectures an frameworks to develop, execute and monitor application on JEE environment. Because of that, I have been exploring about the possibilities of using Spring AOP on some points of our proprietary framework and have found this little treasure: http://www.infoq.com/articles/Simplifying-Enterprise-Apps

Incredible article about Aspect Oriented Programming. I suggest you to pick an eye!!

Categories: Uncategorized Tags: , ,
Follow

Get every new post delivered to your Inbox.