Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What method is used to create database connection in
servlets?

Answers were Sorted based on User's Feedback



What method is used to create database connection in servlets?..

Answer / ravikiran(aptech mumbai)

either using DriverManager.getConnection
(or)
DataSource.getConnection()

Is This Answer Correct ?    10 Yes 0 No

What method is used to create database connection in servlets?..

Answer / raghu

DataSource.getConnection()

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Servlets Interview Questions

Which method of the httpservletrequest object is used?

0 Answers  


Who is responsible to create the object of servlet?

0 Answers  


What is the difference between a generic servlet and http servlet?

0 Answers  


Can threads be used in Servelet?

3 Answers  


Difference between java beans & servlets?

0 Answers  


how the server will know its the same jsp page?

3 Answers   HCL,


Can you use javascript in servlets?

0 Answers  


What is the use of httpservletrequestwrapper?

0 Answers  


What is url encoding and url decoding

0 Answers  


What are the difference between session and cookies in servlet? Explain

0 Answers  


Describe servlet?

0 Answers  


What is the use of java servlet api?

0 Answers  


Categories