Which of the following denote gateway to the database?
-
Data links
-
Connection objects
-
Both A) and B)
-
None of the Above
In JDBC architecture, Connection objects represent the gateway to the database. They establish the communication channel and create Statement objects for executing queries. Data links (Option A) typically refers to specific linking mechanisms, not the general database gateway concept.
A Connection object is the correct answer. In data-access frameworks (ADO.NET, JDBC, ODBC), the Connection object is the software abstraction that opens, authenticates, and maintains the physical link between an application and a database — every command/query passes through it, which is why it's described as the 'gateway to the database.' 'Data links' is not a standard formal term for this abstraction (it refers more to physical wiring/network links), so it's wrong, and consequently 'Both A and B' and 'None' are also wrong since only the Connection object fits the definition.