Which two technologies would be suitable for use as Front Controller elements?

View the Exhibit.

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

View the Exhibit.

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

A.
JSP

B.
Servlet

C.
Filter

D.
POJO

E.
Custom Tag

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
Incorrect:
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.



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Touchy

Touchy

why is not A C ?

Rudi

Rudi

B & C

JSP’s are used for View only !! No business Logic in JSP !!!