J2EE Interview Questions



Q) What is J2EE?

Rep) 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.

Q) What is the J2EE module?

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

Q) What are the components of J2EE application?

Rep) 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.

Q)What are the four types of J2EE modules?

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

Q) What does application client module contain?

Rep) The application client module contains:

–class files,
–an application client deployment descriptoor. Application client modules are packaged as JAR files with a .jar extension.

Q) What is “application assembler” ?

Rep) A person who combines J2EE components and modules into deployable application units.

Q) What is “application client” ?

Rep) A first-tier J2EE client component that executes in its own Java virtual machine. Application clients have access to some J2EE platform APIs.

Q) What is “application client container” ?

Rep) A container that supports application client components.

Q) What is “application client module” ?

Rep) A software unit that consists of one or more classes and an application client deployment descriptor.

Q) What is “application component provider” ?

Rep) A vendor that provides the Java classes that implement components’ methods, JSP page definitions, and any required deployment descriptors.

Q) What is “application configuration resource file” ?

Rep)An XML file used to configure resources for a JavaServer Faces application, to define navigationrules for the application, and to register converters,validators, listeners, renderers, and components with the application.

Q) What is “archiving”

Rep) The process of saving the state of an object and
restoring it.

Q) What is “asant” ?

ReP) A Java-based build tool that can be extended using Java classes. The configuration files are XML-based,calling out a target tree where various tasks get executed.

Q) What is “attribute” What is “asant” ?

Rep) A qualifier on an XML tag that provides additional information. with the application.

Q) What is “archiving” ?

Rep)The process of saving the state of an object and
restoring it.

Q) What is “asant”

Rep) A Java-based build tool that can be extended using Java classes. The configuration files are XML-based,calling out a target tree where various tasks get executed.

Q) What is “attribute”What is “asant” ?

Rep) A qualifier on an XML tag that provides additional information.

Share with SociBook.com

Related Post

Post a Comment