Thursday, October 25, 2007

J2EE Interview Questions


1. What is J2EE?

J2EE is an environment for developing and deploying enterprise applications. The J2EE platform consists of a set of services, application programming interfaces (APIs), and protocols that provide the functionality for developing multitiered, web-based applications.

2. What is the J2EE module?

A J2EE module consists of one or more J2EE components for the same container type and one component deployment descriptor of that type.

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:

o Application clients and applets are client components.

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

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

o 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:

o class files,

o an application client deployment descriptor.

Application client modules are packaged as JAR files with a .jar extension.

6. What does web module contain?

The web module contains:

o JSP files,

o class files for servlets,

o GIF and HTML files, and

o a Web deployment descriptor.

Web modules are packaged as JAR files with a .war (Web ARchive) extension.

0 comments:

Advertisement

 

Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com