J2EE Enterprise Application Development

Test your knowledge of Java 2 Enterprise Edition (J2EE) development including EJBs, servlets, session beans, transaction management, and enterprise application architecture.

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following CORBA services provides arbitrary typed n-ary associations between CORBA objects?

  1. Relationships
  2. Object life cycle
  3. Events
  4. Java 2 ORB
  5. Stock
Question 2 Multiple Choice (Single Answer)

Which of the following server tasks is typically undertaken for purposes of efficiency?

  1. Instance passivation
  2. Optimized method invocation
  3. TX_BEAN_MANAGED
  4. Instance pooling
  5. contains Header(java.lang.String name)
Question 3 Multiple Choice (Single Answer)

Which of the following CORBA services supports the association of name value pairs with CORBA objects?

  1. Trader
  2. Concurrency control
  3. Property
  4. OrbixWeb
  5. StockHolder.java
Question 4 Multiple Choice (Single Answer)

Which of the following provides the runtime support for the deployed enterprise bean's instance?

  1. Enterprise bean provider
  2. EJB container provider
  3. Application assembler
  4. Optimized method invocation
  5. TX_MANDATORY
Question 5 Multiple Choice (Single Answer)

Which of the following performs the actual installation of the enterprise beans and the additional classes and interfaces into the EJB container?

  1. Enterprise bean provider
  2. Application assembler
  3. Instance passivation
  4. init()
  5. Deployer
Question 6 Multiple Choice (Single Answer)

In which of the following server tasks is it possible to keep a cache of EJB state information in some readily accessible place to accelerate the initial creation of EJBs in order to speed up the process?

  1. Instance passivation
  2. Optimized method invocation
  3. TX_SUPPORTS
  4. Preached instances
  5. Application assembler
Question 7 Multiple Choice (Single Answer)

Which of the following methods is defined by the servlet specification in order to take two parameters such as javax.servlet. ServletRequest and javax.servlet. ServletResponse object?

  1. service()
  2. init()
  3. destroy()
  4. containsHeader(java.lang.String name)
  5. GET
Question 8 Multiple Choice (Single Answer)

Which of the following performs work for its client, shielding the client from complexity by executing business tasks inside the server?

  1. Java applet
  2. Java servlets
  3. WebSphere
  4. Session bean
  5. Portable object adapter
Question 9 Multiple Choice (Single Answer)

Which of the following does not define any interface requirements for the EJB server provider?

  1. EJB container
  2. Application assembler
  3. Enterprise bean provider
  4. EJB architecture
  5. Instance passivation
Question 10 Multiple Choice (Single Answer)

In which of the following server tasks, when a component wishes to access a database, it does not create a new database connection, instead it simply grabs a connection from a pool of available connections?

  1. Instance passivation
  2. Optimized method invocation
  3. Database connection pooling
  4. TX_MANDATORY
  5. GET
Question 11 Multiple Choice (Single Answer)

Which of the following can be accomplished in order to eliminate page refreshes every time there is user input?

  1. Java servlets
  2. Ajax
  3. Java applet
  4. WebSphere
  5. Events
Question 12 Multiple Choice (Single Answer)

Which of the following is non proprietary and works virtually with any J2EE complaint application server?

  1. Java applet
  2. Java servlet
  3. Java strut
  4. OrbixWeb
  5. Object life cycle
Question 13 Multiple Choice (Single Answer)

Which of the following is responsible for overseeing the well being of the deployed enterprise beans applications at run time?

  1. Enterprise bean provider
  2. Application assembler
  3. Optimized method invocation
  4. WebSphere
  5. System administrator
Question 14 Multiple Choice (Single Answer)

In which of the following is the state retained for the duration of the client bean session?

  1. Stateless session bean
  2. Stateful session bean
  3. Java applet
  4. Java servlets
  5. Portable object adapter
Question 15 Multiple Choice (Single Answer)

Which of the following modes of transaction management means that the bean does not support any transactions and can not be used from within a transaction?

  1. TX_NOT_SUPPORTED
  2. TX_SUPPORTS
  3. TX_BEAN_MANAGED
  4. Instance passivation
  5. init()