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

how to use servlets with j2ee ?

2 Answers   Tech Mahindra,


How a servlet is unloaded?

0 Answers  


Describe servlet?

0 Answers  


How do servlets work?

0 Answers  


What are the steps that are required to handle the multi-threading?

0 Answers  


What is lazy loading and what is Generic Servlet Class?

0 Answers  


what is multiple server?

0 Answers  


What are the two important api's in for servlets?

0 Answers  


What is the use of servlet wrapper classes?

0 Answers  


How servlets are deployed in java?

0 Answers  


What is the difference between servlet and filter?

0 Answers  


What are the features added in Servlet 2.5?

0 Answers  


Categories