A Java-based application needs to connect to Snowflake to run SQL queries as part of its backend. Which client interface should the developer integrate?
- A. SnowSQL, embedded as a Java library
- B. The Snowflake JDBC driver✓ Correct
- C. The Snowflake Python connector
- D. Snowsight, embedded via an iframe
Explanation
The Snowflake JDBC driver is the standard, supported way for Java applications to connect to Snowflake using the widely adopted JDBC API, letting the app issue SQL over a standard Java database connectivity interface. SnowSQL (option A) is a standalone command-line tool, not a Java library meant to be embedded into application code. The Python connector (option C) is specifically for Python applications, not Java. Embedding Snowsight via an iframe (option D) is not a supported or sensible programmatic database access pattern for backend application logic.