CDI 2.0 Java SE examples This is a small example of using CDI 2.0 on Java SE application. check out this blog fore more details:http://aboullaite.me/cdi-20-java-se/ PS: Check out Netty user guide as well: http://netty.io/wiki/user-guide-for-4.x.html