A mock
test question on
J2EE Applicability:
"On XXXX site,people check the weather forecast. If the company can expect between 50-100 concurrent hits in to their site, which of the following
Java based technologies may be best suited for their needs?
(a)
Servlets and
JSP for presentation with Java classes encapsulating all database access.
(b)Servlets and JSP for presentation and CMP Beans for retrieval.
(c)Servlets and JSP for presentation and Session Beans with DAO for retrieval.
(d)
Applets for presentation and either Entity or Session Beans for retrieval.
(e)servlets and JSP for presentation and BMP Beans for retrieval.
I answered (b), but the answer said it was (a).
I dont understand why Java Classes has to be used for encapsulating all d/b access ?
I think (b) is right since EJB entity beans are used for concurrent d/b access, am I right ?