Tutorial: Writing your own CDI extension

Today I will show you how to write a CDI extension. CDI provides a easy way for extending the functionality, like adding own scopes, enabling java core classes for extension, using the annotation meta data for augmentation or modification, and much more. In this tutorial we will implement an extension that will inject properties from […]

 

7
Kudos
Don't
move!

Read more

Using CDI standalone

Today I will show you how to use CDI in your appplication, when you don’t have the a JEE server. CDI is the Context and Dependency Injection, as defined in the JSR-346 (CDI 1.1) and JSR-299 (CDI 1.0). It is a powerful and lightweight mechanism that provides dependency injection, contextual lifecycles, events, decorators and interceptors. But […]

 

21
Kudos
Don't
move!

Read more

DataFX – @Named support (accepted)

During the christmas and new year holidays I implemented the @Named feature for DataFX. It’s already accepted and merged into the validation branch of DataFX (Thanks to Hendrik Ebbers). This feature enables a user to inject different instances of a bean into a controller, distinguished by a resource name via @Named annotation. You can, for […]

 

1
Kudos
Don't
move!

Read more

GIT & ZShell : Colorize your shell depending on your branch

As announced in my last post I asked my colleague Tillman if I’m allowed to post his nice extension for the zshell (as you may have concluded he gives his OK 🙂 ). And here it is

The color mapping is the same as in these graphic Applying can be done, for example, when adding this […]

 

0
Kudos
Don't
move!

Read more

Gradle & GIT : How to map your branch to a deployment profile

Today I would like to show you how easy you can create conventions on your branching model and map these conventions to deployment / environment profiles. Where we come from Usually a project needs to have different settings for different environments (production, testing, staging, etc. pp.). Maven provides for this a nice plugin, but Gradle lacks […]

 

6
Kudos
Don't
move!

Read more

DataFX forked – @ContextResource added

Some weeks ago, Hendrik Ebbers (http://guigarage.com) shared a beta version of DataFX with me. DataFX is a cool framework that has several components. Controller : removes the direct dependency between a fxml file and it’s controller within the fxml file. It also adds contextual objects and for three kinds of contexts (Application, View and FlowView). […]

 

0
Kudos
Don't
move!

Read more

CompileOnly plugin for Gradle released

A few moments ago I released version 1 of a handy plugin for Gradle. This plugin adds compileOnly as a new configuration to a java or groovy build. If either the java nor the groovy is applied, the plugin applies automatically the java plugin. It takes care of adding this configuration to the standard source sets main and test. And it […]

 

0
Kudos
Don't
move!

Read more