Which one should we prefer while using bean ?
managed bean annotation or faces-config
Answer / 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 |
What is java gui?
What is deployer?
What is jaxr provider?
What id url?
Why is java considered dynamic?
What is j2ee specification?
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...
What is meant by j2ee?
What is build tool in java?
What is architecture neutral in java?
What are the advantages in the use of spring for application development?
What is jaap?