Differentiate between .ear, .jar and .war files.



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

Post New Answer

More J2EE Interview Questions

where our package shoud be kept in the application whenwe want to import that package in the jsp application?

1 Answers  


What is meant by applet in java?

1 Answers  


How can I be good in java?

1 Answers  


Why java is called robust and secure?

1 Answers  


Why primitive data types in java are not objects?

1 Answers  


What is the mvc on struts?

1 Answers  


Which java technology is in demand?

1 Answers  


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 ?

1 Answers   Sony,


Why is java robust?

2 Answers  


Can I run seam in a j2ee environment?

1 Answers  


whay java does not support bass by reference

1 Answers   NIIT,


What is callback methods?

1 Answers  


Categories