Preface

This quick start guide shows how to connect your Java applications to Oracle Autonomous Database using Oracle JDBC driver and Universal Connection Pool. Oracle Autonomous Database allows both one-way TLS as well as mutual TLS (mTLS) for connection, the default being the later. With one-way TLS, also called as TLS, you no longer need either Oracle Wallets or Java KeyStore (JKS) to connect to Oracle Autonomous Database. When you disable the mTLS requirement, connections can be established. The Prerequisites section addresses both of these approaches.

If you want to connect to Oracle Database (On-Premises) or Oracle Cloud Database that uses TCP connections then see QuickStart Java applications with Oracle Database (On-premises).

See Also:

Develop Java applications with Oracle Database for other technical briefs, blogs, and videos.

Audience

This document is intended for developers and architects who use Java to build applications using Oracle Cloud Services, such as Oracle Autonomous Database.

Documentation Accessibility

For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.

Access to Oracle Support

Oracle customers that have purchased support have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired.

Conventions

The following text conventions are used in this document:

Convention Meaning

boldface

Boldface type indicates graphical user interface elements associated with an action, or terms defined in text or the glossary.

italic

Italic type indicates book titles, emphasis, or placeholder variables for which you supply particular values.

monospace

Monospace type indicates commands within a paragraph, URLs, code in examples, text that appears on the screen, or text that you enter.