Amber
Resin 3.0

Features
Installation
Configuration
Web Applications
IOC/AOP
Resources
JSP
Quercus
Servlets and Filters
Databases
Admin (JMX)
CMP
EJB
Amber
EJB 3.0
Security
XML and XSLT
XTP
JMS
Performance
Protocols
Third-party
Troubleshooting/FAQ

Amber
Lifecycle
@Table
Tutorials
EJB
Resin 3.0
Amber

Amber is Resin's implementation of the EJB 3.0 persistence specification, using plain Java beans as the application model.
Amber

Amber aims at relational database persistence with an application-oriented data model.

Amber Lifecycle

The Amber bean lifecycle follows the JDO 1.0 model. Amber supports both transactional and non-transactional lifecycles.

@Entity Table Configuration

Describes the basic annotation for a single-table entity bean.

Amber Tutorials
Field-based Persistent Objects

Amber's persistence supports a field-based relational model: each Java field represents a database column.

Property-based Persistent Object

Basic persistence example showing configuration, classes, and client code for a single-table bean.

Creating and Removing Entity Beans

Describes the basic create/remove api for persistent entities.

Transaction Method Annotations

Transaction annotations make reliable database updates clear, straightforward and scalable.

Query CMP

The Amber Query API resembles the JDBC PreparedStatement with enhanced SQL and direct support for objects.

Links: The @ManyToOne Relation

The Many-to-One link is the foundation of persistent relations. It links a source table to a destination with a database REFERENCES column. Many-to-One adds two capabilities: SQL extensions for links and direct lookup of target beans through field references.

Collections: The @OneToMany Relation

The @OneToMany relation adds collection extensions to the query language and provides a Java Collection containing the children.

Many-to-Many CMP

Illustrates using many-to-many relations of EJB 3.0.

CMP Inheritance

Amber supports database-backed inheritance, allowing for persistent-backed polymorphism and more sophisticated object-oriented modelling.

Persistent Sessions with Amber

HttpSessions combined with Amber improve the flexibility and performance of persistent sessions.


EJB
Resin 3.0
Amber
Copyright © 1998-2006 Caucho Technology, Inc. All rights reserved.
Resin® is a registered trademark, and HardCoretm and Quercustm are trademarks of Caucho Technology, Inc.