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 |
How to do registration form using struts and hibernate?
What are the different algorithms used for clustering?
What is the map interface?
what are the software's needed to develop advanced java 3 tier application project
What is the difference between RMI registry and OS Agent?
Define aop(assepct oriented programing)?
What is resource bundle?
Difference between DurableSubscription and non- DurableSubscription?
What is a modular application?
what is the diffrence between banking and insurance domain?
What are the pros and cons of detached objects?
whats is mean by tiles in struts