Tag: web technology

Questions Related to web technology

Using include tag improves performance of rendering a page as compared to using include directive?

  1. True

  2. False


Correct Option: B
  1. javax.servlet.ServletConfig

  2. javax.servlet.Servlet

  3. javax.servlet.ServletContext

  4. All of the above


Correct Option: B

Business Delegate pattern utilizes Service Locator pattern to encapsulate lookup and access of remote services like EJB, web services and others

  1. True

  2. False


Correct Option: B

Business Delegate simplifies the underlying business service interfaces, so that, at later point of time, it is much easier simpler to modify and maintain business service

  1. True

  2. False


Correct Option: B

Service Locator pattern can possibly cache the home interface of an EJB to enhance performance of an application.

  1. True

  2. False


Correct Option: B

With Transfer Object, it is possible that one runs into an issue of having multiple copies of the same Transfer object class with different data

  1. True

  2. False


Correct Option: B

Struts, the popular MVC framework by the Jakarta project of Apache utilizes Front Controller pattern in one of the following key components of the framework. Please choose.

  1. Action

  2. ActionForm

  3. ActionServlet

  4. None of the above


Correct Option: C

Server can be in any of the following state except?

  1. Admin

  2. Failed

  3. Running

  4. Overloaded

  5. Resuming


Correct Option: D

Which of the following is true?

  1. Admin server can act as a managed server

  2. Managed server can act as an admin server

  3. Deployments cannot be done when admin managed server is down

  4. Manager server goes down if admin goes down

  5. There can be 2 admin servers in a domain


Correct Option: A