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?

Answer Posted / ravikiran(aptech mumbai)

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

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of servletconfig interface?

1085


What do you mean by deployment descriptor?

1126


What are life cycle methods of a servlet?

1111


What is difference between get and post method?

1151


What are the advantages of Servlet over CGI?

1199


How to upload a file to the server using servlet?

1050


Which interface must be implemented by all servlets?

1415


What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?

1116


What are the steps involved in placing a servlet within a package?

1116


Can we refresh servlet in client and server side automatically?

1106


Whether we can get deadlock situation in servlets?

1119


What do you mean by web applications? Explain web application directory arrangement?

1005


What are different methods of session management in servlets?

1328


Tell us something about servletcontext interface.

1142


What is SingleThreadModel interface?

1206