Reputation: 562
Is there any difference in writing scope and bean annotation in any particular sequence in JSF ? For eg. see the below two declaration
@SessionScoped
@ManagedBean(name = "editEmployeeController")
or
@ManagedBean(name = "editEmployeeController")
@SessionScoped
Upvotes: 0
Views: 130
Reputation: 2268
No, it's the same. There isn't any priority. But this is best practice from oracle for the order. http://www.oracle.com/technetwork/java/javase/documentation/index-137868.html#orderoftags
Upvotes: 1