New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Dependency Injection for Java

by Craig Wickesser on  May 21, 2009 1

Dependency injection has been around for a while and there are quite a few frameworks which provide such capabilities for Java applications. Recently Google and SpringSource announced a partnership related to providing dependency injection for Java.

Article: A Fusion of Proven Ideas: A Look Behind S#arp Architecture

by Abel Avram on  Mar 16, 2009 6

In this article Billy McCafferty presents S#arp Architecture, an ASP.NET MVC architectural framework meant to leverage current best practices in architecting ASP.NET web applications by providing a project code template which uses Domain-Driven Design techniques and has built-in support for NHibernate, Castle Windsor and SQLite.

Article: JavaScript Test Driven Development with JsUnit and JSMock

by Dio Synodinos on  Feb 09, 2009

This article by Dennis Byrne is a crash course in writing maintainable JavaScript. Dennis uses stubs, mock objects and a little bit of dependency injection. He also uses JsUnit to run unit tests and a JavaScript mock object library called JsMock.

Managed Extensibility Framework Preview 4

by Al Tenhundfeld on  Feb 08, 2009

Microsoft's Managed Extensibility Framework is an open source (MS-PL) .NET application composition framework available on CodePlex. MEF provides aspects of a plug-in model and an inversion of control container. Code Preview 4 includes performance and diagnostic improvements.

Web Beans (JSR-299): Q&A with Specification Lead Gavin King

by Charles Humble on  Jan 07, 2009

An ambitious and key part of Java EE 6, the Web Beans specification spans JSF/EJB integration, context management, dependency injection and AOP. The specification is currently in public review and the review period has been extended into 2009. An Alpha build is also available. InfoQ talks to Gavin King to find out more about the state of play of the specification and progress to date.

Interview: Erich Gamma Discusses Jazz, Eclipse, JUnit and Design Patterns

by Ryan Slobojan on  Sep 22, 2008

In this interview from QCon London 2008, Erich Gamma discusses the Jazz project, why Eclipse has been successful, the strict Eclipse release schedule, JUnit, Design Patterns, how to identify a design pattern, design patterns and the 'Don't Repeat Yourself' principle, the design pattern community, and whether dependency injection is a design pattern.

Interview : Nate Kohari on Releasing Ninject 1.0

by Robert Bazinet on  Jun 17, 2008 1

In this interview with Nate Kohari, creator of the Ninject dependency injection container for .NET, talks about the release of version 1.0 of Ninject. The interview has taken place over the past weeks leading up to the release of Ninject 1.0.

Article: Domain Driven Design and Development In Practice

by Niclas Nilsson on  Jun 16, 2008 53

Domain-Driven Design is a subject where there currently are very few examples of how to actually do it in practice. In this article, Srini Penchikala gives you guidelines, practices, frameworks and tools that technical leads and architects can use in the effort of implementing a system in a Domain-Driven way.

Microsoft Enterprise Libarary 4.0 Released for Visual Studio 2008

by Robert Bazinet on  May 22, 2008 2

Microsoft released a version of their Enterprise Library 4.0 for Visual Studio 2008 and at the same time, Unity 1.1 application block, their dependency injection container.

Book Excerpt and Interview: Effective Java, Second Edition

by Ryan Slobojan on  May 13, 2008 8

Effective Java, Second Edition by Joshua Bloch is an updated version of the classic first edition, which was the winner of a 2001 Jolt Award. The book's publisher, Addison-Wesley, made an excerpt available to InfoQ which includes the contents of the fifth chapter, entitled 'Generics'. InfoQ asked Bloch several questions about the areas that the new edition covers.

Microsoft Embraces Dependency Injection in the Framework

by Jonathan Allen on  Apr 28, 2008 5

Microsoft's new Application Framework Core team has started to embrace techniques Naming and Activation Services, Dependency Injection, and Duck Typing in .NET's core frameworks.

Try to get the best of your Statically Typed Language

by Sadek Drobi on  Apr 11, 2008

The use of dynamic type-checking in static languages is often perceived as unavoidable on complex projects, even though workarounds necessary to enforce it tend to negatively impact the quality of code. According to Debasish Ghosh, features in static languages, i.e. Java generics, offer an opportunity to avoid runtime type checking and optimize the advantages of static typing.

Microsoft Unity Dependency Injection Application Block Released

by Robert Bazinet on  Apr 10, 2008 7

The Microsoft patterns & practices group has released its Dependency Injection container called Unity or the Unity Application Block. Developers can now create loosely coupled applications that are extensible using this lightweight container.

Presentation: Introduction to Spring.NET

by James Vastbinder on  Mar 07, 2008 6

Dr. Mark Pollack, founder of Spring.NET, provides an introduction focused on implementing and designing loosely coupled application architectures.

Can DDD be Adequately Implemented Without DI and AOP?

by Srini Penchikala on  Feb 18, 2008 4

A recent thread on Domain Driven Design (DDD) user group discussed the role of Dependency Injection (DI) and Aspect Oriented Programming (AOP) in DDD implementation. InfoQ spoke with Eric Evans and Ramnivas Laddad about these design concepts and the role of Annotations and orchestrated business services in DDD.