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
Is c++ more secure than java?
What is delegation?
What is web container in j2ee?
What is ear file?
What is comment?
What is j2ee api?
Describe orm?
What is application client?
What is filter chain?
what is direct link to download swing ebook,applet,ejb,core java
What is a j2ee module?
How to create object without using the keyword “new” in java?
Which java ide is best?
How does javac compiler work?
What is use of final keyword in java?