Tag: architecture

Questions Related to architecture

  1. Yes, but always call the default constructor.

  2. Yes, but you do not have to always call the default constructor.

  3. No

  4. None


Correct Option: A
  1. page, request & session

  2. page, request & application.

  3. page, request, session & application.

  4. request, session & application.


Correct Option: C
  1. ServletContext gives information about Container

  2. ServletContext gives information about Request

  3. ServletContext gives information about Session

  4. None


Correct Option: A

Which are implicit objects in a JSP?

  1. only request, response

  2. only request, response & application

  3. request, response, session & application

  4. none of the above


Correct Option: C
  1. Query length is limited in POST, not limited in GET.

  2. POST is secured whereas data is been submitted as part of URL in GET (not secured).

  3. By using POST method, we cannot submit the form.

  4. None


Correct Option: B
  1. ejb-jar.xml

  2. Can be any valid xml containing Web Module name

  3. web.xml

  4. config.xml


Correct Option: C