Multiple choice technology web technology

Application datasource is configured is which of the foll. file?

  1. web.xml

  2. application.properties

  3. server.xml

  4. .xml

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In traditional Java EE/Tomcat applications, datasources are commonly configured in server.xml using JNDI resources. Web.xml configures web application settings, while application.properties is a Spring Boot convention for configuration.