Jonathan,

I have developped several beans for an online address book.
These beans contains a Person bean for each employee, a company bean etc ...

The Person bean is the one I'd like to connect to from a lot of other apps.

I developped a shared scheduler, I need the person bean.
I am developping a test manager to track bugs, I need the person.
I developped a Project bean that need a project leader and project workers ...


See what I mean ?

For now (and the problem that is mine today), I solved this by directly storing the name of the Person instead of an id that the container will use for CMR.

I don't know if it could help me, but I might re-work the bean model so a Person bean is a person (name, surname, b-date) and an employee bean is a person bean plus the relations to a company, a project leader is an employee plus a link to the projects he leads. (ProjectLeaderBean extends EmployeeBean and EmployeeBean extends PersonBean)
It sounds good to me but is it doable ?


Persons are stored in a database, Projects in another one, Company in another too and so on.
In this case, each beans have its own datasource and CMR might not work.



Thanks for your replies, Ionel



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to