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 are transaction attributes?
Name the method to find, if a thread is active or not?
What is RPC?
What is in-memory replication?
Which javutil classes and interfaces support event handling?
What happens when a thread cannot acquire a lock on an object?
What exceptions are thrown by RMI?
what is the difference between System.out.println and out.println in java
What is clustering? What are the different algorithms used for clustering?
we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?
can i call multipule form beans in Action class?
What is abstract schema?