Which one should we prefer while using bean ?
managed bean annotation or faces-config
Answer Posted / m4n07
Since we can create managed bean by two ways as,
we can define the bean name in faces-config.xml file so that
page can use that OR we can write annotation on bean class so
that it is automatically assign to page but I want to know
which one is good programming practice ?
And also mention disadvantage of other which should not prefer
...
Thanking you...
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is assembly in java?
What are the advantages of object-relational mapping (orm)?
What is form-based authentication?
How many types of modules is defined by j2ee specification?
What is server in j2ee?
What is a web container j2ee?
What is java 2 platform, standard edition (j2se)?
Define connection pooling?
What is a java application server?
What are web technologies in java?
What is devops in java?
What is java j2ee developer?
How java is used in web applications?
How do you compile java?
What is credentials?