Solutions Guide for Oracle TopLink
Table of Contents
Show All | Collapse- Title and Copyright Information
- Preface
- What's New in This Guide
- 1 Introduction
- 2 Installing Oracle TopLink
- 3 Using TopLink with WebLogic Server
- 3.1 Introduction to the Solution
- 3.2 Implementing the Solution
- 3.2.1 Task 1: Prerequisites
- 3.2.2 Optional Task: Update the Release of EclipseLink in WebLogic Server (Optional)
- 3.2.3 Task 3: Configure JMX MBean Extensions in WebLogic Server
- 3.2.4 Task 4: Use or Reconfigure the Logging Integration
- 3.2.5 Task 5: Add Persistence to Your Java Application Using EclipseLink
- 3.2.6 Task 6: Configure a Data Source
- 3.2.7 Task 7: Extend the Domain to Use Advanced Oracle Database Features
- 3.2.8 Task 8: Start WebLogic Server and Deploy the Application
- 3.2.9 Task 9: Run the Application
- 3.2.10 Task 10: Configure and Monitor Persistence Settings in WebLogic Server
- 3.3 Additional Resources
- 4 Using TopLink with GlassFish Server
- 4.1 Introduction to the Solution
- 4.2 Implementing the Solution
- 4.2.1 Task 1: Prerequisites
- 4.2.2 Task 2: Install GlassFish Server
- 4.2.3 Task 3: Set Up the Data Source
- 4.2.4 Task 4: Create the persistence.xml File
- 4.2.5 Task 5: Set Up GlassFish Server for JPA
- 4.2.6 Task 6: Create the Application
- 4.2.7 Task 7: Deploy the Application to GlassFish Server
- 4.2.8 Task 8: Run the Application
- 4.2.9 Task 9: Monitor the Application
- 4.3 Additional Resources
- 5 Using TopLink with JBoss 7 Application Server
- 5.1 Introduction to the Solution
- 5.2 Implementing the Solution
- 5.2.1 Task 1: Prerequisites
- 5.2.2 Task 2: Configure EclipseLink as a Module in JBoss
- 5.2.3 Task 3: Add ojdbc6.jar as a Module in JBoss
- 5.2.4 Task 4: Create the Driver Definition and the Datasource
- 5.2.5 Task 5: Create Users
- 5.2.6 Task 6: Modify JBoss Properties
- 5.2.7 Task 7: Other Requirements
- 5.2.8 Task 8: Start JBoss
- 5.3 Additional Resources
- 6 Using TopLink with IBM WebSphere Application Server
- 7 Migrating from Native TopLink
- 8 Migrating from Hibernate to TopLink
- 8.1 Introduction to the Solution
- 8.2 Main Tasks
- 8.2.1 Task 1: Prerequisites
- 8.2.2 Task 1: Convert the Hibernate Entity Annotation
- 8.2.3 Task 2: Convert the Hibernate Custom Sequence Generator Annotation
- 8.2.4 Task 3: Convert Hibernate Mapping Annotations
- 8.2.5 Task 4: Modify the persistence.xml File
- 8.2.6 Task 5: Convert Hibernate API to EclipseLink API
- 8.3 Additional Resources
- 9 Using Multiple Databases with a CompositePersistence Unit
- 10 Scaling Applications in Clusters
- 11 Providing Software as a Service
- 12 Making JPA Entities and JAXB Beans Extensible
- 13 Using an External MetaData Source
- 14 Tenant Isolation Using TopLink
- 15 Mapping JPA to XML
- 16 Converting Objects to and from JSON Documents
- 16.1 Introduction to the Solution
- 16.2 Implementing the Solution
- 16.2.1 Task 1: Marshalling and Unmarshalling JSON Documents
- 16.2.2 Task 2: Specifying JSON Bindings
- 16.2.3 Task 3: Specifying JSON Data Types
- 16.2.4 Task 4: Supporting Attributes
- 16.2.5 Task 5: Supporting no Root Element
- 16.2.6 Task 5 Using Namespaces
- 16.2.7 Task 6: Using Collections
- 16.2.8 Task 7: Mapping Root-Level Collections
- 16.2.9 Task 8: Wrapping Text Values
- 16.3 Additional Resources
- 17 Testing JPA Outside a Container
- 18 Enhancing Performance
- 18.1 Performance Features
- 18.2 Monitoring and Optimizing EclipseLink-Enabled Applications
- 18.2.1 Performance Optimization Recommendations and Tips
- 18.2.2 Task 1: Measure EclipseLink Performance with the EclipseLink Profiler
- 18.2.3 Task 2: Identify Sources of Application Performance Problems
- 18.2.4 Task 3: Modify Poorly-Performing Application Components
- 18.2.5 Task 4: Measure Performance Again
- 19 Scaling JPA Applications Using TopLink Grid with Oracle Coherence
- 20 Exposing JPA Entities Through RESTful Data Services
- 20.1 Introduction to the Solution
- 20.2 Implementing the Solution
- 20.2.1 Step 1: Prerequisites
- 20.2.2 Step 2: Create and Configure the Application
- 20.2.3 Step 3: Understand RESTful Data Services URI Basics
- 20.2.4 Step 4: Represent Entities Using JPA, JAXB, or JSON
- 20.2.5 Step 5: Issue Client Calls for Operations on the Persistence Unit
- 20.2.6 Step 6: Implement Security
- 20.2.7 Step 7: Understand the Structure of RESTful Data Services Responses
- 20.3 Additional Resources
- 20.4 RESTful Data Services API Reference
- Entity Operations
- Entity Operations on Relationships
- Query Operations
- Single Result Queries
- Base Operations
- Metadata Operations
- 21 Keeping Data Fresh Using TopLink Live Data Queries
- 22 Using Database Events to Invalidate the Cache
- 23 Using TopLink with NoSQL Databases
- 24 Using Oracle TopLink with the Oracle Database