I'm developing a web application and a colleague from the university who is some periods beyond what I'm studying said that using the CDI would have a better performance, however, so far had not heard of that term. I would like a simple example of its use to get an idea of how the CDI is used in a web application.