|
INTERVIEW QUESTIONS
J2EE
EJB
DETAILS
Question: What is the difference between EAR, JAR and WAR file
Answer: In J2EE application modules are packaged as EAR, JAR and WAR based on their functionality JAR: EJB modules which contains enterprise java beans class files and EJB deployment descriptor are packed as JAR files with .jar extenstion WAR Web modules which contains Servlet class files,JSP FIles,supporting files, GIF and HTML files are packaged as JAR file with .war( web achive) extension EAR All above files(.jar and .war) are packaged as JAR file with .ear ( enterprise archive) extension and deployed into Application Server.
|
|
|
Category |
EJB Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 7745 users |
Added on |
7/14/2011 |
Views |
70901 |
Rate it! |
|
|
Question:
What is the difference between EAR, JAR and WAR file
Answer:
In J2EE application modules are packaged as EAR, JAR and WAR based on their functionality JAR: EJB modules which contains enterprise java beans class files and EJB deployment descriptor are packed as JAR files with .jar extenstion WAR Web modules which contains Servlet class files,JSP FIles,supporting files, GIF and HTML files are packaged as JAR file with .war( web achive) extension EAR All above files(.jar and .war) are packaged as JAR file with .ear ( enterprise archive) extension and deployed into Application Server. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is the difference between activation and passivation
|
View Answer
|
|
What is Message Driven Bean
|
View Answer
|
|
What is re-entrant. Is session beans reentrant. Is entity beans reentrant
|
View Answer
|
|
What is deployment descriptor
|
View Answer
|
|
What are the call back methods in Entity bean
|
View Answer
|
|
What are the various transaction attributes and differences between them
|
View Answer
|
|
Is stateless Sessiob bean create() method contains any parameters
|
View Answer
|
|
What is the life cycle of MDB
|
View Answer
|
|
What is lazy loading
|
View Answer
|
|
What is the difference between JNDI context, Initial context, session context and ejb context
|
View Answer
|
|
What is the difference between sessioncontext and entitycontext
|
View Answer
|
|
What is CMR
|
View Answer
|
|
What is the difference between CMP 1.1 and CMP 2.0
|
View Answer
|
|
With EJB 1.1 specs, why is unsetSessionContext() not provided in Session Beans, like unsetEntityContext()
|
View Answer
|
|
What is the difference between ejbCreate() and ejbPostCreate()
|
View Answer
|
|
What is the difference between optimistic locking and pessimistic locking
|
View Answer
|
|
What are advantages and disadvantages of CMP and BMP
|
View Answer
|
|
Can undefined primary keys are possible with Entity beans?If so, what type is defined?
|
View Answer
|
|
Can undefined primary keys are possible with Entity beans?If so, what type is defined?
|
View Answer
|
|
When two entity beans are said to be identical?Which method is used to compare identical or not?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All EJB Interview Questions & Answers - Exam Mode /
Learning Mode
|