Java Reference
In-Depth Information
Now, we are ready to test our application:
After submitting the page, we can see the confirmation page.
Stereotypes
A CDI stereotype allows us to create new annotations that bundle up several CDI
annotations. For example, if we need to create several CDI named beans with a scope
of session, we would have to use two annotations in each of these beans, namely
@Named and @SessionScoped . Instead of having to add two annotations to each of
our beans, we could create a stereotype and annotate our beans with it.
 
Search WWH ::




Custom Search