The Apache Software Foundation is proud to present...Version: 2.1.11

OJB Block Samples

Orthogonal views: Content   Pretty content   Links

Back

Back - to Cocoon Samples main page
Back - to Cocoon Blocks Samples main page

Using Persistence Broker

API which serves as the OJB persistence kernel. The OTM-, ODMG- and JDO-implementations are built on top of this kernel. This API can also be used directly by applications that don't need full fledged object level transactions.

XSP - Sample using JDO in a XSP page.
Cocoon Forms - Sample using Cocoon Forms Binding. To be done!

Using JDO 1.01

WARNING: To use JDO demo you have to download jdo.jar from Sun's website!

The Java Data Objects (JDO) API is a standard interface-based Java model abstraction of persistence, developed as Java Specification Request 12. Application programmers use JDO to directly store their Java domain model instances into the persistent store (database). Uses Java Data Object Query Language (JDOQL).

XSP - Sample using JDO in a XSP page.
Cocoon Forms - Sample using JDO with Cocoon Forms Binding.

Using ODMG 3.0

Object Data Management Group (ODMG) 3 standard for binding databases. Uses Object Query Language (OQL). ODMG has been superceded by JDO.

XSP - Sample using JDO in a XSP page.
Cocoon Forms - Sample using Cocoon Forms Binding. To be done!

OJB Documentation

OJB block allows the use of the Apache OJB project into Cocoon. OJB block is still alpha software and under active development. Your feedback is very much welcome on the Cocoon mailing lists.

Apache OJB website - Apache OJB project
Using JDO Tutorial - How to use OJB with JDO
Using ODMG Tutorial - How to use ODMG with OJB
Using Persistence Broker Tutorial - How to use the OJB's Persitence Broker

Other Links

Additional link to database access technologies

JDO Website - JDO website
JDO Central - JDO community website
ODMG Website - ODMG website
JDO Cocoon Wiki Documentation - Notes of a first experiment using OJB with Cocoon.