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 an isolation level?
What are transaction attributes?
Explain what is orm?
Are there books about seam?
What are the disadvantages of using threads?
What are the oops concept?
What is daemon thread?
what is the use of State Factories?
diff between jsp include directive and jsp action include?
whats is mean by jndi
When a thread terminates its processing, it enters into what state?
Describe activation process?