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

Explain creation of statement object with connection method create method with help of an example.

1032


What is a jdbc connection string?

995


What is metadata in jdbc?

1078


What is jdbc odbc connection?

1018


What is jdbc and its advantages?

1138


How can we retrieve the file in the oracle database?

1017


Why is jdbc needed?

976


What is difference between odbc and jdbc?

1075


Why would you use setautocommit(false) in jdbc?

1269


Explain the difference between inner and outer join ?

1107


How many ways that we can view a result set?

1059


Does jdbctemplate use prepared statements?

961


What is executeupdate in java?

933


Which package is used for jdbc application?

1026


What is a java driver?

1075