Breadcrumb

  • Handling Forms in Java EE 6 by Using Servlets and CDI

    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.

    Duration: 60 minutes

    Release Date: 12-APR-2013

    Created by: Miguel Salazar

Create a Review

Be the first to create a review for this content item!

Buttons