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


Why use a datasource when you can directly specify a
connection details? (in a J2EE application)



Why use a datasource when you can directly specify a connection details? (in a J2EE application)..

Answer / anand

Because, it would be really difficult to specify the connection details in every method that access the database. Instead, if we create a data source, it can be used to connect to the database in every method we want.

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More Advanced Java Interview Questions

Explain the stub's and skeleton's functionality?

7 Answers  


What is a task?s priority?

1 Answers  


what do u mean by java bean??

2 Answers   ADP,


What is TL and its use?

0 Answers  


Explain about thread synchronization inside a monitor?

0 Answers   Saksoft,


which type of objects reference will be given to client?

0 Answers  


Why use POJO when I can use hashmap

0 Answers   Infotech,


How can a dead thread be restarted?

1 Answers   IBM, Wipro,


whats is mean by class.forName() whats the return type of class

6 Answers   SolutionNET,


What is the form of storage space in java?

0 Answers  


why we use main in java?

4 Answers  


Can I use multiple html form elements with the same name?

0 Answers  


Categories