Dependency Injection
Design patterns using Spring and Guice
Dhanji R. Prasanna
Foreword by Bob Lee
  • July 2009
  • ISBN 9781933988559
  • 352 pages
  • printed in black & white

Transcends implementation details...covers customary and effective use of DI.

Bob Lee, Software Engineer, Google Inc. and Creator of Guice

In object-oriented programming, a central program normally controls other objects in a module, library, or framework. With dependency injection, this pattern is inverted—a reference to a service is placed directly into the object which eases testing and modularity. Spring or Google Guice use dependency injection so you can focus on your core application and let the framework handle infrastructural concerns.

Dependency Injection explores the DI idiom in fine detail, with numerous practical examples that show you the payoffs. You'll apply key techniques in Spring and Guice and learn important pitfalls, corner-cases, and design patterns.

What's inside

  • How to apply it (Understand it first!)
  • Design patterns and nuances
  • Spring, Google Guice, PicoContainer, and more
  • How to integrate DI with Java frameworks

About the reader

Readers need a working knowledge of Java but no prior experience with DI is assumed.

About the author

Dhanji R. Prasanna is a Google software engineer who works on Google Wave and represents Google on several Java expert groups. He contributes to Guice, MVEL, and other open source projects.

placing your order...

Don't refresh or navigate away from the page.
print book $34.99 $49.99 pBook + eBook + liveBook
Additional shipping charges may apply
Dependency Injection (print book) added to cart
continue shopping
go to cart

eBook $27.99 $39.99 3 formats + liveBook
Dependency Injection (eBook) added to cart
continue shopping
go to cart

Prices displayed in rupees will be charged in USD when you check out.
customers also bought
customers also reading

This book

FREE domestic shipping on three or more pBooks