Java EE 8 Cookbook
上QQ阅读APP看书,第一时间看更新

There's more...

We used a GlassFish 5 to run this recipe. You can do it with whatever Java EE 8 compatible server you want, and you can even use CDI with Java SE without any server. Have a look at the CDI recipe from Chapter 1, New Features and Improvements.