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 |
Is string a primitive data type in java?
Name the Implicit variable which is used to access other implicit objectes present in JSP.
What is the ear file?
What is event handling in java?
where exactly the servlets and jsp's are stored?
What is j2ee stand for?
Why is j2ee needed?
What is declarative security ?
Why java is called robust and secure?
What are struts?
Why java is a platform?
What is deployer?