1.

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» C. service method


Discussion

No Comment Found