nerdexam
Oracle

1Z0-899 · Question #168

View the Exhibit. Which two technologies would be suitable for use as Front Controller elements? (Choose two)

The correct answer is A. JSP B. Servlet. Servlet only. Works well when: Output is a binary type. E.g.: an image There is no output. E.g.: you are doing forwarding or redirection as in Search Engine example. Format/layout of page is highly variable. E.g.: portal. JSP only. Works well when: Output is mostly character…

Web Application Environment

Question

View the Exhibit. Which two technologies would be suitable for use as Front Controller elements? (Choose two)

Exhibit

1Z0-899 question #168 exhibit

Options

  • AJSP
  • BServlet
  • CFilter
  • DPOJO
  • ECustom Tag

How the community answered

(26 responses)
  • A
    81% (21)
  • C
    4% (1)
  • D
    4% (1)
  • E
    12% (3)

Explanation

  • Servlet only. Works well when: Output is a binary type. E.g.: an image There is no output. E.g.: you are doing forwarding or redirection as in Search Engine example. Format/layout of page is highly variable. E.g.: portal. * JSP only. Works well when: Output is mostly character data. E.g.: HTML Format/layout mostly fixed. * Combination (MVC architecture). Needed when: A single request will result in multiple substantially differentlooking results. You have a large development team with different team members doing the Web development and the business logic. You perform complicated data processing, but have a relatively fixed layout Not D: In computing software, POJO is an acronym for Plain Old Java Object. The name is used to emphasize that a given object is an ordinary Java Object, not a special object. The term "POJO" is mainly used to denote a Java object which does not follow any of the major Java object models, conventions, or frameworks. The term continues the pattern of older terms for technologies that do not use fancy new features.

Topics

#Front Controller pattern#MVC architecture#Servlet#JSP

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice