Posted: 24 Jun 2016 8:58 EDT Last activity: 24 Jun 2016 9:11 EDT
Query on LSA (7.1) Quiz - JEE and PRPC - Connection Pooling
Which statement is true regarding PRPC connection pooling? (Choose One)
1. A JNDI data source is defined for the database connection details
2. Tomcat defines the database connection information in prconfig.xml file
3. Connection pooling helps in achieving scalability (Correct Answer)
4. Connection pool helps in sizing how many users can access system concurrently
In the above question, why is option 1 invalid as in the course, it says "PRPC can leverage the JNDI data source defined as part of the application server or the servlet container (in case of tomcat) for the database connection details"? Thanks in advance.
You are correct about a JNDI data source being defined for database connection details. This questions asks specifically about connection pooling so option 3 is the most appropriate response to this question.