Posts | Comments | Email

Posts Tagged Dependency injection

The lifecycle of a Spring bean

The lifecycle of a Spring bean

In this blogpost, I'll talk and give a few examples of the lifecycle of a bean in a Spring container. The examples are tested with Spring 3.0RC1 but should work with Spring 2.5+ Xml Attributes In this first example, I'll show you how the lifecycle of a bean happens within the xml-configfil

11.12.2009| Featured, java, tutorials | Wim

No Comments
Dependency Injection with Google Guice by example

Dependency Injection with Google Guice by example

In this blogpost, I'll explain Dependency Injection with Google Guice through a lot of examples. Hope you like it. Annotation based DI It's possible in Guice to inject a class with the help of annotations. In this example, I create a mainclass which creates an order. Inside the order there wil

09.29.2009| Featured, java, tutorials | Wim

9 Comments