Every time that you use a dependency inject framework, is very common that you need to change your code to include or modify something due the framework requirements, adding a annotation for method or attribute members, or creating a xml files for describe each injection.
Imagine that the JavaBeans API had been created after the Generics API. Today, we could have other way to create the POJO classes, i.e., the JavaBeans API could have created some classes as Value, MutableValue or Property. Others languages have different approaches to create properties as C#, but Java created a API that standardized the most frameworks and tools to model business objects. In this article, we’ll see a new approach using generics and fluent methods to create Java Beans. We created a small library to show this, Fluent Beans.