Enterprise JavaBeans and Java Web Development

Advanced Java web development concepts covering Enterprise JavaBeans (EJB), Java Servlets, AJAX, MVC architecture, and Apache Struts framework

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

With which of the following can you use JavaScript and DHTML to immediately update the UI, when you click a button and spawn an asynchronous request to the server to perform an update or query a database?

  1. Java applet
  2. Java beans
  3. Ajax
  4. Websphere
  5. Query
Question 2 Multiple Choice (Single Answer)

Which of the following is/are an efficient and powerful solution(s) for creating dynamic content for the web?

  1. Java applets
  2. Java servlets
  3. OrbixWeb
  4. Java beans
  5. Object life cycle
Question 3 Multiple Choice (Single Answer)

It is very common for which of the following components to provide interfaces to databases or back-end systems?

  1. Model components
  2. View components
  3. Java beans components
  4. Portable object adapter
  5. Relationships
Question 4 Multiple Choice (Single Answer)

Which of the following was/were officially introduced in the servlet 2.3 specification?

  1. Java 2 ORB
  2. WebSphere
  3. Java applet
  4. Events
  5. Filters
Question 5 Multiple Choice (Single Answer)

Which of the following falls under the Jakarta subproject of the Apache software foundation and comes with an open source licence?

  1. Java applet
  2. OrbixWeb
  3. Web Sphere
  4. Java struts
  5. Stock Presentation
Question 6 Multiple Choice (Single Answer)

Which of the following develops reusable enterprise beans that typically implements business tasks or business entities?

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

Which of the following beans is used when the bean's state must be initialized when it is created?

  1. Stateless session bean
  2. Stateful session bean
  3. Java beans components
  4. Java applet
  5. Instance passivation
Question 8 Multiple Choice (Single Answer)

Which of the following beans will disappear, if the server is shutdown and restarted?

  1. Java beans
  2. Java applet
  3. WebSphere
  4. Session beans
  5. Instance pooling
Question 9 Multiple Choice (Single Answer)

Which of the following describes the case in which the application assembly step occurs before the deployment of the enterprise beans?

  1. Deployment descriptor
  2. EJB server provider
  3. EJB specification
  4. Preached instance
  5. TX_BEAN_MANAGED
Question 10 Multiple Choice (Single Answer)

Which of the following is a domain expert, who composes applications that use enterprise beans?

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

Which of the following components takes data from the user and update database through model components?

  1. View components
  2. Java beans components
  3. Controller components
  4. Concurrency control
  5. OrbixWeb
Question 12 Multiple Choice (Single Answer)

A good rule of thumb is that _____ beans model business concepts that can be expressed as nouns.

  1. stateless session
  2. entity
  3. java
  4. java applet
  5. preached instances
Question 13 Multiple Choice (Single Answer)

Which of the following uses tools provided by the EJB container provide to perform his role?

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

Which of the following files produced by the bean provider contains one or more enterprise beans that typically do not contain application assembly instructions?

  1. ejb-jar manifest
  2. ejb-jar file
  3. Deployment descriptor
  4. Bean managed persistence
  5. TX_BEAN_MANAGED
Question 15 Multiple Choice (Single Answer)

Which of the following interfaces for an enterprise bean defines the bean's life cycle methods?

  1. Remote interface
  2. Home interface
  3. Optimized method invocation
  4. service()
  5. containsHeader(java.lang.String name)