JustAnswer.com

Friday, November 9, 2007

J2EE Interview questions and answers

3. What are the components of J2EE application?

A J2EE component is a self-contained functional
software unit that is assembled into a J2EE
application with its related classes and files and
communicates with other components. The J2EE
specification defines the following J2EE components:

Application clients and applets are client components.


Java Servlet and JavaServer PagesTM (JSPTM) technology
components are web components.

Enterprise JavaBeansTM (EJBTM) components (enterprise
beans) are business components.

Resource adapter components provided by EIS and tool
vendors.

4. What are the four types of J2EE modules?

1. Application client module
2. Web module
3. Enterprise JavaBeans module
4. Resource adapter module


5. What does application client module contain?

The application client module contains:
--class files,
--an application client deployment descriptoor.
Application client modules are packaged as JAR files
with a .jar extension.

6. What does web module contain?

The web module contains:
--JSP files,
--class files for servlets,
--GIF and HTML files, and
--a Web deployment descriptor.
Web modules are packaged as JAR files with a .war (Web
ARchive) extension.

No comments: