CDI
-
Enterprise Java
Java EE CDI Dependency Injection (@Inject) tutorial
In this tutorial we shall show you how to achieve Dependency Injection in CDI managed Beans. In particular, we shall…
Read More » -
Enterprise Java
Asynchronous CDI Events
Few days ago, during our regular code review, one of my colleagues raised a question what would happen — and…
Read More » -
Enterprise Java
Java EE CDI Disposer methods example
This is a tutorial of CDI Disposer methods. In CDI, since a Producer method generates an object that can then…
Read More » -
Enterprise Java
Java EE CDI Producer methods tutorial
This is a tutorial of CDI Producer methods. In CDI, a Producer method generates an object that can then be…
Read More » -
Enterprise Java
Java EE CDI ConversationScoped example
In this tutorial we shall show you how to create and use a ConversationScoped Bean in a web application. In…
Read More » -
Enterprise Java
Java EE CDI bean scopes
Contexts and Dependency Injection (CDI) for the Java EE platform is a feature that helps to bind together the web…
Read More » -
Enterprise Java
JSF – Eager CDI beans
Everybody knows eager managed beans in JSF 2. @ManagedBean has an eager attribute. If eager=’true’ and the scope is application,…
Read More » -
Enterprise Java
Custom error pages for expired conversations involving CDI and JSF
It’s been a while since I last blogged. I keep thinking of blogging something technical but end up getting busy…
Read More » -
Enterprise Java
Configure timeout for CDI conversations
CDI conversation scope is a nice feature when developing JSF applications. Imagine you have large data tables which take a…
Read More »