Differentiate between .ear, .jar and .war files.
Answer / Avatar Kumar
EAR (Enterprise Archive) file is a top-level archive that contains other application components like JAR (Java Archive) and WAR (Web Archive) files. It is used to deploy a complete J2EE application. JAR file contains Java classes and resources, but does not contain web components or EJBs. WAR file contains servlets, JSP pages, HTML documents, images, and other web components necessary for a web application.
| Is This Answer Correct ? | 0 Yes | 0 No |
where our package shoud be kept in the application whenwe want to import that package in the jsp application?
What is meant by applet in java?
How can I be good in java?
Why java is called robust and secure?
Why primitive data types in java are not objects?
What is the mvc on struts?
Which java technology is in demand?
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 ?
Why is java robust?
Can I run seam in a j2ee environment?
whay java does not support bass by reference
What is callback methods?