Here are the current JOnAS status and plans regarding CMP.

The current version 2.0 of JOnAS does not provide persistent references between CPM entity beans, and neither polymorphism
between CPM entity beans (which is not in the EJB 1.1 spec).

We, at France Telecom R&D, are working on a flexible and adaptable persistence layer called JORM (for Java Object Repository
Mapping). We plan to integrate JORM with JOnAS this summer, and we should expect enhanced CMP before the end of the year.

Features of this new layer for CMP entity beans will include:
- persistent inter-bean references;
- polymorphism of bean classes;
- management of multi-valued attributes (lists, sets, arrays).

In a first step, only an implicit object-relational mapping will be provided.
Extensions will include a more flexible object-relational mapping, mapping to other types of data sources (object databases).

    alex

John Sharley wrote:

The EJB 1.1 final spec decrees that container managed persistent fields
in an entity bean be one of these types:
1. Java primitive.
2. Java Serializable.
3. Home interface reference.
4. Remote interface reference.

This last case avoids doing a findByPrimaryKey to obtain a reference to
another entity bean as the reference is stored.

Has anyone attempted to or succeeded in having type 4 above as a
container managed persistent field in an entity bean ?

If so,  what DBMS did you use and how ?

--
 John.


 


Reply via email to