Multiple Choice
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
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q15: Which of the following code is used
Q16: What represents a persistent global data from
Q17: Which component does the Entity bean represent
Q18: Java Servletsare efficient and powerful solution for
Q19: EJB is a specification for J2EE server,
Q20: GET methods are great for sending ..........amounts
Q22: Which component does the Entity bean represents
Q23: What's the difference between servlets and applets?
Q24: JMS is also known as a messaging
Q25: Which type of instances retain no data