Software Architecture and J2EE Patterns

Covers software architecture concepts including tiered architecture, design patterns (MVC), system requirements, and J2EE architectural components

9 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is the name of the design pattern in which the data, the data presentation and the data controls are defined separately?

  1. Model-View-Controller.
  2. Publish-Subscribe.
  3. Observer-Observable.
  4. Reader-Writer.
Question 2 Multiple Choice (Single Answer)

This Layer manages reading, writing, updating and deleting stored data?

  1. Value Objects Layer.
  2. Presentation Layer.
  3. Data access object layer.
  4. Deployment Layer.
Question 3 Multiple Choice (Single Answer)

What is Persistence?

  1. The capability of an object to exist after the program that created it has stopped running.
  2. The ability of a class to support multiple threads.
  3. An Error-Handling technique.
  4. None of the above.
Question 4 Multiple Choice (Single Answer)

Your Company’s web-site offers the customers price comparisons of different products. You are in charge of converting the web-based solution over to the appropriate J2EE technology. Which of the following should you use?

  1. JSP, Servlets.
  2. JSP, Servlets, EJBs
  3. Applets, EJBs
  4. No need to change it.
Question 5 Multiple Choice (Single Answer)

Which statement is not true when discussing the EJB tier?

  1. The EJB tier hosts the application-specific business objects.
  2. The EJB tier does not host system-level services (such as transaction management, concurrency control and security); they are hosted on the EIS tier.
  3. The EJB tier is a link between the web tier and the EIS integration tier.
  4. The EJB tier hosts the entity beans and session beans, data access objects and value objects and perhaps master-detail modeling using enterprise beans.
Question 6 Multiple Choice (Single Answer)

What method can be used to help programmatically determine the caller’s identity within enterprise bean code?

  1. getIdentity()
  2. getCallerPrincipal()
  3. getCallerIdentity()
  4. getUserId()
Question 7 Multiple Choice (Single Answer)

Containers and servers have the same function. What is the difference between an Enterprise Java Beans Container and an Enterprise JavaBeans Server?

  1. Containers run within servers.
  2. Servers run within containers.
  3. Only one server can run in a container.
  4. Only one container can run in a server.
Question 8 Multiple Choice (Single Answer)

Which of the following is not a tier of three-tier architecture?

  1. Client Interface.
  2. Business Logic.
  3. Security
  4. Data Storage.
Question 9 Multiple Choice (Single Answer)

Which of the following is true about the requirements of a banking System?

  1. The need for security is a classic example of a functional service level requirement and a checking account rile is an example of a non-functional requirement.
  2. Security and the mandatory checking account both illustrate functional service level requirements.
  3. Neither security nor the mandatory checking account is an example of any kind of requirement.
  4. Security is an architectural non-functional requirement and the mandatory checking account a functional design requirement.