Overview of Oracle Kodo Creating an Oracle Kodo Application

7 Using Oracle Kodo with WebLogic Server 7-1 7 Using Oracle Kodo with WebLogic Server This chapter provides an overview of developing, deploying, and configuring an Oracle Kodo application using WebLogic Server. The following topics are covered: ■ Section 7.1, Overview of Oracle Kodo ■ Section 7.2, Creating an Oracle Kodo Application ■ Section 7.3, Using Different Oracle Kodo Versions ■ Section 7.4, Configuring Persistence ■ Section 7.5, Deploying an Oracle Kodo Application ■ Section 7.6, Configuring an Oracle Kodo Application

7.1 Overview of Oracle Kodo

Oracle Kodo is an implementation of Sun Microsystems Java Persistence API JPA specification and Java Data Objects JDO specification for transparent data objects. Oracle Kodo is available as a stand-alone product and is integrated within WebLogic Server. This chapter describes how to implement an application using JPA or JDO in WebLogic Server. Within WebLogic Server, the JPA and JDO implementations are part of WebLogic Server’s overall Enterprise JavaBean 3.0 persistence implementation. For general information on creating an application using JPA and JDO, see the Kodo 4.2.0 Developers Guide for JPAJDO.

7.2 Creating an Oracle Kodo Application

The first step in implementing a Oracle Kodo application on WebLogic Server is to write the application code. The following resources provide general information on writing an application that uses Oracle Kodo to manage persistence of your data: Note: Oracle Kodo JPAJDO is deprecated in this release. Customers are encouraged to consider using Oracle TopLink. For more information about Oracle TopLink, see Using Oracle TopLink with Oracle WebLogic Server . When you use TopLink, you can install a patch to WebLogic Server which provides support for JPA 2.0. For more information, see Section 6.3, Using JPA 2.0 with TopLink in WebLogic Server. WebLogic Server does not support JPA 2.0 when using Kodo. 7-2 Programming Enterprise JavaBeans, Version 3.0, for Oracle WebLogic Server ■ Oracle Kodo JPA Tutorials ■ Oracle Kodo JDO Tutorials Once you are familiar with the steps involved in creating applications using Oracle Kodo and have created your application, the following sections describe how to deploy and configure your application using WebLogic Server.

7.3 Using Different Oracle Kodo Versions