What is delegation?
Answer / Shweta Srivastava
"Delegation" in J2EE refers to a design pattern where an object passes a request to another object for handling, rather than performing the action itself. This allows objects to specialize in their own responsibilities.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are java front end tools?
Hi friends, can u explain Transparent Persistence in hibernate with sample code.
What does j2ee stand for?
What do you understand by connector?
servlet has not any main method in it how does it work by JVM?
Give some advantages of orm (object-relational mapping)?
Write a program for Sum of the digits for a given number Ex: suppose user entered Number is 1214, It should calculate the above number like 1+2+1+4 = 8
What is delegation?
Describe orm?
Why is java called object oriented?
Is core java and j2se same?
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 ?