feature overview
Oracle9i Database Release 2 - Java


Overview 

This release offers a faster-to-initialize Java Virtual Machine (JVM) that complies with J2SE 1.3, complete JDBC 2.0 support across all drivers, significant JDBC 3.0 support, SQLJ functionally on a par with JDBC, enhancements in JPublisher to simplify publishing of PL/SQL types, new capabilities for Java Stored Procedures, a more flexible loadjava utility, standard Java Advanced Imaging API (JAI) support and integration with InterMedia, standard Java Debug Wire Protocol (JDWP) support and integration with Oracle9i JDeveloper, and Enterprise Manager (EM) integration.

Changes in the Oracle Java Story

Because Oracle9iAS Release 1.0.2.2 introduces a new, lighter weight, easier to use, faster, and certified J2EE container (OC4J), Oracle will no longer support the Java 2 Enterprise Edition (J2EE) and CORBA stacks in the database, starting with Oracle9i Database Release 2. However, Oracle will continue to enhance the database embedded JVM (Oracle JVM), providing Java 2 Standard Edition (J2SE) features, Java Stored Procedures, JDBC, and SQLJ in the database. 

As of Oracle9i Database Release 2 (version 9.2.0), the following technologies will no longer be supported in the database: 

  • Enterprise Java Beans (EJB) Container 
  • JavaServer Pages engine (OJSP) 
  • Oracle Servlet Engine (OSE)
  • Common Object Request Broker Architecture (CORBA) framework, based on Visibroker for Java 
Customers will no longer be able to deploy Servlets, JSP Pages, EJBs, and CORBA objects in Oracle databases. 
Oracle9i Release 1 (version 9.0.1) is the last database release to support the J2EE and CORBA stack.
Oracle encourages customers to migrate existing J2EE applications to Oracle9iAS Containers for J2EE (OC4J). 

Oracle9i Database Java: New Features Summary

Oracle9i Database Release 2 offers the following new Java features:

  • OracleJVM: J2SE 1.3 compatibility, faster initialization, new Java Stored Procedures capabilities, Java Advanced Imaging API support, JMS interface for Advanced Queuing systems, Java Debug Wire Protocol (JDWP) support 
  • JDBC - Complete and Advanced SQL Data Access: Complete JDBC 2.0 support, significant JDBC 3.0 support, performance monitoring (JSR 138)
  • SQLJ - New features for embedding SQL statements in Java programs: Functional parity with JDBC, including dynamic SQL support, flexible "JDBC-like" programming, and support for all JDBC features and new types
  • JPublisher - New features for wrapping PL/SQL and Database Objects in Java applications: Improved usability, improved support for PL/SQL types signatures, and support for all JDBC types 
  • Oracle9i JDeveloper integration: Leveraging Java Debug Wire Protocol support in OracleJVM
  • Enterprise Manager integration: Managing Java objects  in the database
 
FEATURE DETAILS
Detailled List of Desupported Features

Desupported J2EE Features 

  • Oracle JavaServer Pages engine (OJSP)  
  • Oracle Servlet Engine (OSE)  
  • EJB container 
  • J2EE services such as JTA, JNDI and RMI/IIOP
Desupported CORBA Features  
  • Embedded CORBA framework (based on Visibroker for Java) 
  • IIOP protocol 
  • COSnaming                                                                   
  • Associated class libraries: vbjorb.jar, vbjapp.jar, vbjtools.jar, ifr, idl2java,           java2rmiiiop 
Desupported Tools and Libraries 
  •  sess_sh 
  •  publish, deployejb, dropejb, ejbdescriptor 
  •  publishservlet, unpublishservlet, publishjsp 
  •  addendpoint, deploywar, realm , accesslog 
  •  createwebservice, createwebdomain, createcontext 
  •  aurora_client.jar, servlet.jar, mts.jar 
JDBC - Complete and Advanced SQL Data Access

Complete JDBC 2.0 support across all drivers:

  • XMLType support
  • Improved statement caching - new API
  • Enhanced support for SQL Opaque types
  • Connection wrapping
  • Complete support for Timestamp types across all JDBC drivers
    • Timestamp (TS)
    • Timestamp with Time Zone (TSTZ)
    • Timestamp with Local Time Zone (TSLTZ)
  • Direct support for LOB in the Thin driver
  • Dynamic Monitoring System metrics (JSR 138) for client-side drivers 
JDBC 3.0 features: 
  • Transaction savepoints 
  • Toggling between local and global transaction
  • Reuse PreparedStatement
  • JDK 1.4 support for client JDBC drivers
SQLJ - New Features for Embedding SQL Statements in Java Programs

Simplicity of embedded SQL, flexibility of JDBC, parity with JDBC through support for Oracle JDBC features and new types:

  • Dynamic SQL in SQLJ statements
  • JDBC-like support for DataSource
  • JDBC-like untyped iterators and fetch logic
  • CharacterStream support for storing Unicode data
  • Scalar PL/SQL tables
  • XMLType  types
  • SQLJ Object types
  • Timestamp types
  • SQL Opaque types
  • Fixed-char semantics for CHAR column in WHERE clause (-fixed-char option)
  • Transaction savepoint support
  • Binding by identifier (-bind-by-identifier option)
  • Full syntax-checking for SQL and PL/SQL code option (the default)
JPublisher - New Features for Wrapping and Converting  SQL and PL/SQL Objects into Java Classes

Complete JDBC types support; new supported types include:

  • NCHAR
  • Timestamp
  • SQLJ objects
  • SQL Opaque
Easier access to native PL/SQL types through: 
  • Predefined type conversions
  • User-defined mapping for PL/SQL index-by tables
  • User-defined conversion and mapping for PL/SQL Record types and tables 
Improved usability, flexibility, and code generation:
  • Attribute-based constructor generation for SQL objects types
  • New APIs for converting strongly typed references and for transferring connection information between objects
  • Serializability of generated object wrappers
Improved Productivity:
  • Removal of unnecessary overwriting of generated classes 
  • Permission to embed JPublisher directives in SQL scripts
  • Improvement of usability for inheritance hierarchies and "generation gap" design pattern
OracleJVM - Java Stored Procedures

New capabilities for Java stored procedures: 

  • Calling out to Web components, Servlets, JavaServer Pages using HTTP Client
  • Calling out to Enterprise Java Beans deployed in Oracle9iAS (OC4J) using oc4jclient.jar
OracleJVM - Usability

Usability enhancements include:

  • Enhanced loadjava for faster and more tolerant class loading
  • Faster Java initialization 
  • Improved upgrade/downgrade
OracleJVM - Java Advanced Imaging API (JAI) Support and Integration with InterMedia

The Java Advanced Imaging API furnishes a set of object-oriented interfaces that enable developers to easily perform complex, high-performance digital imaging operations. 

Supported methods include:

  • BfileInputStream: a SeekableStream that reads from an Oracle BFILE
  • BlobInputStream: a SeekableStream that read from an Oracle BLOB
  • BlobOutputStream: an OutputStream that writes to an Oracle BLOB
 
OracleJVM - JMS Interface for Advanced Queuing Systems (AQ)

Oracle9i Database as JMS compatible message provider through a  ResourceProvider interface that allows transparent switching of message provider.

JMS over AQ extends JMS programming with:

  • Secure messaging
  • Guaranteed delivery of messages
  • Transactional and recoverable messaging
OracleJVM - Java Debug Wire Protocol (JDWP) Support and Integration with Oracle9i JDeveloper 

The current release of Oracle9i Database furnishes support for the Java Debug Wire Protocol (JDWP) API, part of Java Platform Debugger Architecture, a standard alternative to the Oracle "java.debug.Agent."

  • Oracle9i JDeveloper leverages JDWP and allows simultaneous debugging of PL/SQL and Java code, in the same debug session
Enterprise Manager Integration

Ability to deploy and manage Java objects using Enterprise Manager:

  • Load/Drop Java classes
  • Compile Java sources previously loaded in the database
  • Error handling - visual indication of errors on the tree, and details on the right-hand pane
  • Java classes dependencies management

Summary

The Oracle Java Platform position is to "run Java Stored Procedures in the Oracle9i Database, and run J2EE components in the Oracle9i Application Server". Oracle9i Database Release 2 embeds a faster, J2SE 1.3 compatible, reliable, manageable, secure and scalable JVM that enables debugging and running Java stored procedures; OracleJVM also enables support for Java APIs for advanced imaging, XML parsing, and so on, directly in the database server. Oracle9i Database Release 2 exposes its data objects types and functionalities to Java developers through complete JDBC 2.0 support as well as significant support for JDBC 3.0, new and enhanced SQLJ and JPublisher functionalities.
 

Top of Page |Copyright and Corporate Info
 
 

E-mail this page
Printer View Printer View
Oracle Is The Information Company About Oracle | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy