Dependency Injection you own this product

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

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside

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.

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

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

Most comprehensive coverage of DI I have seen.

Frank Wang, DigitalVelocity LLC

A handy manual for better programs with less code.

Jesse Wilson, Guice 2.0 Lead, Google Inc.

Dependency injection is not just for gurus - this book explains all.

Paul King, ASERT

A fantastic book...makes writing great software much easier.

Rick Wagner, Acxiom Data Products

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Dependency Injection ebook for free

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Dependency Injection ebook for free