Project Config with OpenEngSB

9 views
Skip to first unread message

Michael Petritsch

unread,
Aug 24, 2012, 12:06:35 PM8/24/12
to openeng...@googlegroups.com
Hi,

I am starting to work on a project configuration for our projects and am curious on what's the best approach with the openengsb.

The project data used should consist of persistable objects that store information like: projectname, assigned users, individual projectsettings for each user, etc.

We have already discussed a few possible solutions:

1) ProjectDomain approach:
our objects are OpenEngSBModels that are persisted in the edb (iirc this was turned down before by you guys). Could there be issues with bidirectional relations (e.g. a Project contains a List of Users and a User contains a List of Projects)?

2) Jpa approach:
we simply continue to use (open)jpa and our objects are jpaentities. (I have heard that there could be problems when entities are spread across different bundles)

3) manual mapping:
our objects are pojos and we map them manually (or with the help of a different tool)

wdyt would be the best approach? or do you have any other suggestions?

br

Andreas Pieber

unread,
Aug 25, 2012, 7:54:11 AM8/25/12
to openeng...@googlegroups.com
Basically both, option 1 and option 2 are valid. The question about
this is: is your project configuration valid domain information you
want to map to other parts of the system e.g. (then use approach 1);
otherwise use approach 2 or 3; both are valid, although I consider
option 2 might be the easier one.

I hope this helps and kind regards,
Andreas
Reply all
Reply to author
Forward
0 new messages