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 a java application server?
What is multi tier architecture in j2ee?
What is declaration?
What is j2ee component?
What is the difference between java and core java?
What is a j2ee module?
How does javac compiler work?
What is Document Object Model?
What is java api for xml processing (jaxp)?
Why frameworks are used in java?
what is transaction?what are the differenr type of transactions
Why java is called robust and secure?