Java Reference
In-Depth Information
At this point, NetBeans generates the following code:
At this point, we simply need to add the CDI annotations that we want the classes
annotated with our stereotype to use. In our case, we want them to be named beans
and have a scope of session, therefore we add the @Named and @SessionScoped
annotations.
 
Search WWH ::




Custom Search