December 2014
Intermediate to advanced
298 pages
6h 22m
English
Most of you might be familiar with Spring but not Plexus. Plexus provides an Inversion of Control (IoC) or a Dependency Injection (DI) framework similar to Spring. If you are new to the concept of Dependency Injection, it's highly recommended that you go through the article by Martin Fowler, Inversion of Control Containers and the Dependency Injection pattern at http://martinfowler.com/articles/injection.html.
Forget about Maven for a bit; let's see how to implement Dependency Injection with Plexus with the following steps:
package com.packt.di; public interface MessagingService { public void sendMessage(String ...Read now
Unlock full access