Java EE 6 is the latest version in the line of available standard platforms for Java Enterprise applications. In our case, two stacks are of particular interest to us: Java Servlet 3.0 (also known as JSR 315) and Context and Dependency Injection (also known as JSR 299).
Before going further, we will need to quickly browse through Java EE 6 101.
Java EE 6 comes with the concept of profiles. A profile is a combination of different stacks, oriented toward specific use-cases. This strategy let suppliers provide less than the full stacks implemented, yet fulfill customer needs and be recognized as Java EE 6-compliant.
The smallest support that encompasses both Servlet 3 and CDI is called the Web Profile , which is intended ...