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 |
is servlet,struts are threadsafe or not.please telme correct answer
Explain Life cycle of Servlet Filter.
2 Answers InfoBrain, ITC Infotech,
What is mdb and what is the special feature of that?
Write a program to show synchronization?
What is bean? Where can it be used?
What is the purpose of the wait(), notify(), and notifyall() methods?
What is the argument type of a programs main() method?
What is checkpoint? How to create checkpoints in our java projects?
how do you Handle Front End Application data against DB with example?
0 Answers Campus Interaction, HCL,
What are the difference between RMI and CORBA?
how to search the pertical objects in a Collections
how we can implement interface in jsp ?