Tutorial by Examples

Why annotations? Generally we use annotation to facilitate the development and to make the code more clear and clean. What are annotations? Java 5 annotations provide standardization of metadata in a general goal. This metadata associated with Java features can be exploited in the compilation or ...
Create managed bean To create a manage bean you need the annotation @ManagedBean for example: @ManagedBean public class Example {} You need the package: import javax.faces.bean.ManagedBean; Managed bean Scope We use annotations to define the scope in which the bean will be stored. There...

Page 1 of 1