CDI
-
Software Development
[New Webinar] Static vs. Dynamic Analysis: Two Foolproof ways to Ensure Your Code is Production-Ready
Join us for the webinar on Thursday, April 2nd at 11 am PT / 2 pm ET The stakes have…
Read More » -
Core Java
Strategy Pattern with CDI and lambdas
The strategy design pattern dynamically chooses an implementation algorithm, a strategy, at runtime. The pattern can be used to select…
Read More » -
Enterprise Java
JSR 365 Update: Digging Into CDI 2.0
Contexts and Dependency Injection 2.0 (JSR 365), is an update to CDI 1.2, which is currently part of the Java…
Read More » -
Enterprise Java
DynamicReports and JasperReports with JSF, Servlet and CDI
In this example, I will show how to integrate DynamicReport and JasperReports with Servlet and CDI. Tools: TIBCO Jaspersoft Studio-6.0.4.final.…
Read More » -
Enterprise Java
Creating JSF/CDI Maven project on Eclipse
While I was working on a JSF and CDI example, I thought it would be useful to mention the steps…
Read More » -
Desktop Java
CDI events in Swing application to decouple UI and event handling
After having the pleasure of building my code around CDI for couple of years, it feels very natural to use…
Read More » -
Enterprise Java
CDI interceptor of HTTP Request and Header params – simple example
While developing and evolving a REST API, using Java EE , there are some cases where you would like to…
Read More » -
Enterprise Java
Native CDI Qualifiers: @Any and @Default
Let’s take a look at the out-of-the-box qualifiers in CDI There are three qualifiers declared by the CDI specification –…
Read More » -
Enterprise Java
A look on CDI 2.0 EDR1
CDI is one of the best additions to Java EE of the recent. This opinion is widely shared amongst users…
Read More »