Driver manager is a class/interface.
Answer Posted / amarajagan
DriverManager is a Class as part of javax.sql.*; package.The
purpose of DriverManager is to register the JDBC Driver and
to get the Connection Object
--->DriverManager.registerDriver(new
Oracle.jdbc.driver.OracleDriver());
--->Connection
con=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe","scott","tiger");
| Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?
What is ejb 3?
What is the procedure of ejb container to handle exceptions?
What’s the difference between hibernate and ejb 3? Don’t you think ejb 3 is just a clone of hibernate?
What is bean-managed transaction?
Is ejb be called from another ejb? If yes then how?
What are the system services of ejb container?
What is ejb container in java?
What do you mean by bean managed transaction?
can anyone explain me the workflow of EJB.I have developed an app. in WSAD using an example that contains CMP and session bean.But i am not able to understand the basic flow between diffrent packages.
What is applicationscoped?
Define SessionContext ?
Why is ftp stateful?
What is ejb home object?
Which services are provided to ejb components by the ejb container?