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 are the components of j2ee?
What is a java applet?
How many types of modules is defined by j2ee specification?
Explain j2ee architecture.
Is class a data type in java?
what is jvm? how can it is useful in java?
Which implicit object in jsp is synchronized?
What is the build file?
What will happen when you compile and run the following code?
what is the main use of the RequestDispatch object, how we this in realtime project
What is java ee architecture?
What is jaap?