J2EE Components and Deployment

Test your knowledge of J2EE/Java EE architecture including EJB components (entity, session, message-driven beans), web components (servlets, JSP), deployment files (JAR, WAR, EAR), containers, and resource management.

18 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

J2EE components are written in which language?

  1. C
  2. C++
  3. C sharp
  4. Java
Question 2 True/False

Components sucha as HTML and applet embeded HTMl pages are managed, deployed in J2EE server and executed in Client machine.

  1. True
  2. False
Question 3 Multiple Choice (Single Answer)

Which of these is not a container (application componets) in J2EE ?

  1. Application Client
  2. Applet
  3. Java Bean
  4. EJB
  5. Web
Question 4 True/False

J2ee application components can interact directly with other J2EE application components.

  1. True
  2. False
Question 5 Multiple Choice (Single Answer)

Which of these is not a web component

  1. Servelt
  2. JSP pages
  3. Server side utility
  4. Both a and b
Question 6 Multiple Choice (Single Answer)

Which of these is not a enterprise bean?

  1. message driven bean
  2. entity bean
  3. session bean
  4. page bean
Question 7 Multiple Choice (Single Answer)

Which of these xml file is used to describe the deployment settings of the components of J2EE

  1. Mapping
  2. Deployment Desciptor
  3. Navigation
  4. Component
Question 8 Multiple Choice (Single Answer)

This software component is used to implement network connectivity to an external resource manager.

  1. Resource Searcher
  2. Resource Adapter
  3. Resource Merger
  4. Resource Finder
Question 9 Multiple Choice (Single Answer)

Genrally the Database will not be accessible by this component.

  1. Application Client
  2. Applet
  3. Web
  4. EJB
Question 10 Multiple Choice (Single Answer)

This is used for connectivity to the relational Database systems.

  1. JMS
  2. Java IDL
  3. JDBC
  4. JAF
Question 11 Multiple Choice (Single Answer)

This service allowas J2EE application components to invoke external CORBA objects using IIOP protocol.

  1. JMS
  2. Java IDL
  3. JDBC
  4. JAF
Question 12 Multiple Choice (Single Answer)

J2EE application with all of its modules are delivered as this file

  1. .war
  2. .jar
  3. .ear
  4. .rar
Question 13 Multiple Choice (Single Answer)

Enterprise Bean developer performs the source code, specifies deployment descriptor to deliver an EJB ____ file

  1. WAR
  2. JAR
  3. EAR
  4. RAR
Question 14 Multiple Choice (Single Answer)

Web component developer performs the servlet source code, writes jsp, html pages, specifies the deployment desriptor and bundle all these as a ____ file

  1. WAR
  2. JAR
  3. EAR
  4. RAR
Question 15 Multiple Choice (Single Answer)

Application client developer performs the source code, specifies deployment descriptor to deliver ____ file

  1. WAR
  2. JAR
  3. EAR
  4. RAR
Question 16 Multiple Choice (Single Answer)

System administrator perform the following tasks to install and configure a J2EE application. (select the answer which is given in the correct order)

  1. Verify the content for J2EE specification, Configure the descriptor, Add EAR, Deploys the EAR file to J2EE server
  2. Configure the descriptor, Add EAR, Verify the content for J2EE specification, Deploys the EAR file to J2EE server
  3. Verify the content for J2EE specification,Add EAR, Configure the descriptor, Deploys the EAR file to J2EE server
  4. Add EAR, Configure the descriptor, Verify the content for J2EE specification, Deploys the EAR file to J2EE server
Question 17 True/False

Database supported by different J2EE products cannot vary.

  1. True
  2. False
Question 18 Multiple Choice (Single Answer)

The benefits of using this bean is we don’t have to write any SQL code or use the JDBC API to perform Database operations. EJB itself will handle this.

  1. message driven bean
  2. entity bean
  3. session bean
  4. page bean