On Mon, 24 Jan 2000, Erik Voldal wrote:
> What approaches are recommended for developing entities that need to keep
> track of a collection of Serializable items?
I'd be interested in hearing what others on the list say, but here's my 2
cents:
I've implemented a set of collection and relationship classes that can
store a collection of entity beans. They work fine with entiy beans, but they're
too heavyweight for storing small, dependent business objects. So on a recent
project, I developed a lightweight, simple framework for persisting a graph of
business objects that are dependent on some entity bean.
Then I decided to recast my original persistent collection classes in this
lightweight framework. So, you'll have the usual Java 2 Collection, Set, List,
etc objects that can hold either entity beans or dependent business objects.
The heavyweight version consists of full-fledged entity beans. The lightweight
version consists of objects written in this dependent object framework.
I'm not sure if this is maybe what you had in mind, but the lightweight
framework will be published as open source in the coming week or so. The entity
bean collection classes are already open sourced.
They're at http://www.simscomputing.com/products/etk/
hope that helps somehow,
david
--
David Sims [EMAIL PROTECTED]
Sims Computing, Inc. www.simscomputing.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".