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...

Without using of Class.forName(? ?), how do you connect to
db?

Answer Posted / kalyan

by using datasource object, generally datasource is
confiured at app server specifying jndi name , data source
name, driver name, user name, and password.

by getting datasource object using jndi lookup, we can get
connection.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is new in JDBC 2.0?

955


Which is better odbc or jdbc?

919


What are the steps involved in establishing a connection using jdbc in java?

927


What are different parts of a url?

899


What are the jdbc statements?

942


How does jdbc driver work?

928


What happens if connection is not closed in jdbc?

908


What is while rs next ())?

896


What is DML?

952


Is uri the same as url?

859


What causes the "No suitable driver" error?

970


What is resultsetmetadata?

839


What is jdbc template?

912


What is JDBC PreparedStatement?

903


What is connection data?

857