Oracle WebLogic Server 12c: Administration I — Question 40

Consider a WebLogic Java EE application that uses a JDBC data source.
Which three steps would the application developer typically write code to perform? (Choose three.)

Answer options

Correct answer: A, D, E

Explanation

The correct answers are A, D, and E because these steps are essential in managing connections to a JDBC data source. Testing the connection ensures the database is reachable, obtaining a connection is necessary for database operations, and looking up the data source via JNDI is crucial for establishing the connection. Options B and C are incorrect as adding a connection and closing a connection are typically managed by the connection pool rather than being explicitly coded by the developer.