Home

OLL Mobile

FAQ

Handling Forms in Java EE 6 by Using Servlets and CDI

General Information

  • This tutorial shows the basics of Contexts and Dependency Injection (CDI) for Java EE 6 by developing a sign-up form that uses servlets to process its data and inject  Java beans.

    Contexts and Dependency Injection (CDI) is a new feature in Java EE 6 that defines a powerful and type-safe Dependency Injection using “contextual” references or scopes. Based on the JSR-299 specification, CDI supplies a set of services that allow Java EE components (such as EJB session beans and JavaServer Faces managed beans) to be bound to lifecycle contexts. These components can then be injected and interact in a loosely coupled way by firing and observing events. The contextual nature of CDI allows the use of beans from different scopes to be more natural and convenient.

    Release Date: 12-Apr-13

    Duration: 60 minutes

    Credited To: Miguel Salazar

    No Flash Plugin Needed

Visit the Full Site | About Oracle | Contact Us | Terms of Use