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...
No Answer is Posted For this Question
Be the First to Post Answer
What are the components of j2ee applications?
Who gave the name java?
Where can I find java developers?
public class ActionSearchBean extends GenericSearchBean<ActionDTO, Long, ActionDTO> { @Override public String search() { data.setRowCount(null); if(data.getRowCount()==0){ data.getNoRecordFound().setRendered(true); data.getDataScroller().setRendered(false); } return "searchAction"; } @Override public String clear() { data.setRowCount(null); if (data.getRowCount() > 0){ data.getNoRecordFound().setRendered(false); data.getDataScroller().setRendered(true); }else{ data.getNoRecordFound().setRendered(true); data.getDataScroller().setRendered(false); } data.setModel(new ActionDTO()); data.setRowCount(null); return "searchAction"; } } what is the purpose of @Override ...what will do @Override here ?
What is the use of RequestProcessor, if we are having ActionServlet in struts
How java is used in web applications?
Why java is interpreted language?
What are the modules of j2ee?
What is java listener?
What is java netbeans?
Which software is used for java?
What is iso 3166?