Oracle itself has made use of these features
in the creation of many of the database features??”for example, in the Spatial and
Multimedia capabilities.
Java??™s Role and Web Services
Java has gained wide acceptance as an application language, particularly for building
web-based applications, due to its portability and availability on a wide variety of
platforms.
For Java developers wanting to use the Oracle database as a backend to their
applications, Oracle first offered support for JDBC 3.0 in Oracle Database 10g and
continued to offer support for the two common approaches to accessing the database
from a Java program: JDBC and SQLJ. Both of these approaches are based on
industry-standard application program interfaces (APIs):
JDBC
More commonly used since it can be used where SQL is dynamic, or when a
developer wants explicit control over interactions with the database.
SQLJ
An industry standard typically used when static SQL statements have been
embedded into a Java program. SQLJ is similar to other Oracle precompilers in
that Java source files are created with calls to the SQLJ runtime (as well as to
additional profile files).
Pages:
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701