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

Why do we need a constructor in a servlet if we use the init method?

0 Answers  


What is cookie in servlet?

0 Answers  


What type of protocols are used in HttpServlet?

3 Answers  


What is servlet and how it works?

0 Answers  


Why is init() method is used in servlets?

0 Answers  


What is session tracking?

0 Answers  


What is the difference between CGI and Servlet?

0 Answers  


What is Servlet API used for connecting database?

0 Answers  


Which method is called when reference variable is passed in system.net?

0 Answers   HCL,


What is ServletContext() and what is its use?

9 Answers   Prime Technology, TCS,


What are the life cycle methods of the servlet?

0 Answers  


How does Cookies work in Servlets?

0 Answers  


Categories