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 |
What is the infobus?
To make an object to begin executing as a separate thread, what method is used?
What is the map interface?
Name three subclasses of the component class?
suppose i open my yahoo mail.then copy the url. then sign out & close browser.then open browser paste that url on the browser.will i get my mail opened or not? i know it ill not.but how it work.how i create like this type of secure site?
How to get an image from db2 database plz help as soon as possible
what is handle?
What is the use of Class.forName
Explain lazy activation?
diff mvc1 and mvc2 wahts is mean by servlet chaining?
What is jboss?
Explain RMI Architecture?