adplus-dvertising
frame-decoration

Question

How can we connect to database in a web application?

a.

oracle sql developer

b.

toad

c.

JDBC template

d.

mysql

Answer: (c).JDBC template

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How can we connect to database in a web application?

Similar Questions

Discover Related MCQs

Q. How can we take input text from user in HTML page?

Q. Which of the below is not a javascript framework for UI?

Q. Which of the below can be used to debug front end of a web application ?

Q. What type of protocol is HTTP?

Q. What does MIME stand for?

Q. What is the storage capacity of single cookie?

Q. How does applet and servlet communicate?

Q. In CGI, process starts with each request and will initiate OS level process.

Q. Which class provides system independent server side implementation?

Q. What happens if ServerSocket is not able to listen on the specified port?

Q. What does bind() method of ServerSocket offer?

Q. Which of the below are common network protocols?

Q. Which class represents an Internet Protocol address?

Q. What does local IP address start with?

Q. What happens if IP Address of host cannot be determined?

Q. What is the java method for ping?

Q. How constructor can be used for a servlet?

Q. Can servlet class declare constructor with ServletConfig object as an argument?

Q. What is the difference between servlets and applets?

i.Servlets execute on Server; Applets execute on browser

ii.Servlets have no GUI; Applet has GUI

iii.Servlets creates static web pages; Applets creates dynamic web pages

iv.Servlets can handle only a single request; Applet can handle multiple requests

Q. Which of the following code is used to get an attribute in a HTTP Session object in servlets?