Q.

A servlet needs to acquire a data source through a JNDI naming lookup. Which of the following is the best place to do this?

A. Constructor
B. init method
C. service method
D. doGet method
Answer» B. init method
2.3k
0
Do you find this helpful?
11

View all MCQs in

J2EE Technologies

Discussion

No comments yet