Oracle TopLink

Oracle TopLink: How-To Documents
These how-to documents highlight Oracle TopLink features in addition to those in the examples. They provide a high-level overview of a feature with relevant code excerpts to illustrate how the feature can be used.

How-To Categories:

TopLink Grid with Coherence How-Tos

 Oracle TopLink Integration with Coherence Grid Guide: Learn how how to leverage Oracle Coherence to scale Oracle TopLink applications.

Object-Relational Mapping How-Tos

 Using Logical Cursors with Oracle TopLink: Learn about an alternative approach to scrollable cursors for paging large query results. 10.1.3
 TopLink and EJB 3.0 How-To Documents and Sample Code: Learn more about how to simplify development of Java applications and standardize the persistence API for the Java platform. 10.1.3
 EJB CMP 2.0: How to use TopLink EJB 2.0 container-managed persistence (CMP) entity bean on an application server. 10.1.3
 Message Driven Beans: How to use a Message-Driven Bean using TopLink to persist regular Java objects, including examples of database session, logging messages, and displaying messages. 10.1.3
 Flashback Queries: How to acquire a special Session where all objects are read as of a past time and how to express read queries conditional on how your objects are changing over time. 10.1.3
 Returning Policy: How to use the Descriptor return policy API to specify which database fields, whose values are assigned during SQL INSERT and/or UPDATE operations, should be returned to the calling Java application and used to populate the corresponding object. 10.1.3
 Cache Invalidation: How to use the Descriptor cache invalidation policy API to specify when a cache object should be declared out of date (a preset amount of time after they are read, at a specific time every day, or immediately by calling the appropriate Session API method). 10.1.3
 Database Change Notification: How to implement database change notification and TopLink application cache invalidation in order to minimize and eliminate occurrences of the stale data problem. 10.1.3
 RCM and JMS: How to use the Java Message Service (JMS) with Remote Command Module (RCM), the TopLink implementation of a cluster. 10.1.3

How to understand TopLink and inheritance
This how-to walks you through the different mapping options and configuration for simple and complex inheritance in TopLink.


How to configure your TopLink enabled J2EE application for use with OC4J
This how-to walks you through the common configurations and use of TopLink within OC4J. It focuses on how to configure TopLink to use OC4J's JDBC data sources for both JTA and non-JTA applications.

 How to extend TopLink to support custom type conversions
How to extend TopLink's default type conversions provided in the ConversionManager to support the use of additional types
 How to use custom indirection
How to get all the value of indirection without having any TopLink code in your persistent model.


 How to map Large Object (LOB) values to Oracle databases
How to use TopLink to map LOB values when using the Oracle JDBC OCI driver (type 2) or server driver (type 3) and the Oracle JDBC thin driver.
 How to use cache synchronization with JMS and a Message Driven Bean
By default TopLink uses a thread to receive and process the cache synchronization messages. In some J2EE containers a non-container thread is not permitted. With this how-to users will now be able to use a Message Driven Bean to receive and process these messages (requires



Object-XML Mapping (JAXB) How-Tos
 Object to XML (OXM): How to use TopLink to map an object model to an existing XML Schema. Use the TopLink Mapping Workbench to create mapping metadata, unmarshal an XML document, manipulate the data, and then marshal the data back to XML. 10.1.3
 Java Architecture for XML Binding (JAXB): How to use TopLink to create a JAXB application. Use the TopLink JAXB compiler to create a content model, unmarshal an XML document, manipulate the data, and then marshal the data back to XML. 10.1.3
 JAX-RPC 1.1 Web Service: How to use TopLink as a custom serialization How to create a JAX-RPC 1.1. compliant Web service that uses TopLink as a custom object-XML serializer. 10.1.3
 XML Type Mapping: How to use TopLink to map XML data in the form of a String or an org.w3c.dom.Document object to an XMLType field in an Oracle database and how to use new expression operators to create queries based on the content of that XML data. 10.1.3

EIS (JCA/J2CA) How-Tos
 EIS AQ: How to use Oracle Advanced Queueing (AQ) with TopLink to persist objects to legacy and backend data sources accessed using AQ. 10.1.3
 EIS Attunity Connect: How to use TopLink to provide EIS access through JCA adapters using Attunity Connect and persist objects to non-relational Enterprise Information System (EIS) data stores. 10.1.3
 EIS IBM MQ Series: How to use TopLink to provide EIS access through JCA adapters using the IBM MQ Series and persist Java objects or EJBs to a legacy data source using the TopLink MQSeries platform. 10.1.3

Left Curve
Learn More
Right Curve
 · Oracle TopLink News
 · How-To Documents
 · Frequently Asked Questions
 · Examples
 · Documentation
 · Discussion Forum
 · Quick Tour
 · Demos
 · Tutorial
 · Doug's Blog
 · Shaun's Blog

Left Curve
Right Curve
 · Java
 · JPA
 · EJB 3.0
 · Spring

Left Curve
Developer Downloads
Right Curve
   Oracle TopLink
   Oracle JDeveloper & ADF
   Oracle Coherence
   Oracle WebLogic Server
   Oracle Application Server
   Oracle BPEL Process Manager
   Oracle SOA Suite
   Oracle Database XE

Left Curve
Related Technologies
Right Curve


 · Oracle WebLogic Server
 · Oracle Coherence
 · Oracle Application Server
 · Oracle JDeveloper
 · Oracle TimesTen In-Memory Database
 · EJB 3.0
 · Oracle Developer Depot
 · Oracle Application Server Containers for J2EE (OC4J)
Left Curve
Popular Downloads
Right Curve
Untitled Document