EJB and J2EE Enterprise Applications

Test your knowledge of Enterprise JavaBeans (EJB) and J2EE enterprise application development, including EJB types, persistence, container roles, and MVC architecture

14 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

If the user clicks next on a paginated list, which of the following technologies allows you to just refresh the list with the server data, instead of redrawing the entire page?

  1. Java applet
  2. Ajax
  3. Java servlets
  4. Stateful session bean
  5. Instance pooling
Question 2 Multiple Choice (Single Answer)

Which of the following frameworks is described as a way of looking at things?

  1. Java applet
  2. Java servlets
  3. Stateful session bean
  4. Optimezed method invocation
  5. Java struts
Question 3 Multiple Choice (Single Answer)

Which of the following is an ejb-jar file that contains one or more enterprise beans?

  1. Deployment descriptor
  2. EJB server provider
  3. Enterprise bean provider
  4. TX_BEAN_MANAGED
  5. Instance passivation
Question 4 Multiple Choice (Single Answer)

Which of the following has inserted the application assembly instruction into the deployment descriptors?

  1. Application assembler
  2. Deployment descriptor
  3. EJB server provider
  4. TX_MANDATORY
  5. Preached instance
Question 5 Multiple Choice (Single Answer)

Which of the following are those pieces of an application that present information to users and accept input?

  1. View components
  2. Model components
  3. Portable object adapters
  4. Filters
  5. Java servlets
Question 6 Multiple Choice (Single Answer)

Which of the following's tools are used to generate code that moves data between the enterprise bean's instance variables and a database or an existing application?

  1. EJB server provider
  2. Deployment descriptor
  3. EJB container provider
  4. Instance passivation
  5. TX_BEAN_MANAGED
Question 7 Multiple Choice (Single Answer)

In which of the following does the EJB container handle the data access calls automatically?

  1. Bean managed persistence
  2. Container managed persistence
  3. Stateful session bean
  4. Instance passivation
  5. TX_BEAN_MANAGED
Question 8 Multiple Choice (Single Answer)

Which of the following subsections of the MVC coordinate(s) activities in the application?

  1. Model components
  2. Java beans components
  3. Controller components
  4. StockPresentation
  5. OrbixWeb
Question 9 Multiple Choice (Single Answer)

Which of the following beans might represent a customer, a piece of equipment, an item in inventory, or even a place?

  1. Stateful session bean
  2. Java beans components
  3. Entity beans
  4. Java applet
  5. WebSphere
Question 10 Multiple Choice (Single Answer)

Which of the following is not shared, which means that it may have just one client?

  1. Java beans
  2. Java applet
  3. Session bean
  4. Java servlets
  5. Websphere
Question 11 Multiple Choice (Single Answer)

Which of the following interfaces extends javax.ejb.EJBObject, which in turn extends java.rmi.Remote?

  1. Home interface
  2. Remote interface
  3. Bean managed persistence
  4. ContainerHeader(java.lang.String name)
  5. Events
Question 12 Multiple Choice (Single Answer)

Which of the following addresses the development, deployment and runtime aspects of an enterprise application's life cycle?

  1. Deployment descriptor
  2. Enterprise java beans architecture
  3. EJB server provider
  4. Instance pooling
  5. TX_MANDATORY
Question 13 Multiple Choice (Single Answer)

Which of the following is responsible for mapping the security roles defined by the application assembler to the user groups and accounts that exist in the operational environment in which the enterprise beans are deployed?

  1. Deployment descriptor
  2. EJB server provider
  3. Instance passivation
  4. TX_MANDATORY
  5. Deployer
Question 14 Multiple Choice (Single Answer)

On invoking the method of which of the following beans, the bean's instance variables may contain a state, but only for the duration of the invocation?

  1. Stateful session bean
  2. Java beans
  3. Java applet
  4. Java servlets
  5. Stateless session bean