menu-iconExamlexExamLexServices

Discover

Ask a Question
  1. All Topics
  2. Topic
    Computing
  3. Study Set
    Java 2 Platform, Enterprise Edition (J2EE) Technologies
  4. Exam
    Exam 2: EJB, Servlets, and JNDI
  5. Question
    A Servlet Needs to Acquire a Data Source Through a JNDI
Solved

A Servlet Needs to Acquire a Data Source Through a JNDI

Question 21

Question 21

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

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

Examlex

ExamLex

About UsContact UsPerks CenterHomeschoolingTest Prep

Work With Us

Campus RepresentativeInfluencers

Links

FaqPricingChrome Extension

Download The App

Get App StoreGet Google Play

Policies

Privacy PolicyTerms of ServiceHonor CodeCommunity Guidelines

Scan To Download

qr-code

Copyright © (2025) ExamLex LLC.

Privacy PolicyTerms Of ServiceHonor CodeCommunity Guidelines