Why IdentitySession operated with EntityObjects?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2010 06:54 PM
Hi!
I'm trying to implement own IdentitySession - I need to get information about User & Groups from another system (Liferay in my case).
It is not a big problem - since I've already did same thing for jBPM4 - and Activiti and jBPM4 are quite close in this par tof API.
But - I was surprised, why Interface IdentitySession operated not only by interfaces (Group, User), but with implementation classes as well (GroupEntity, UserEntity).
Since both classes are almost POJO - it is not a big issue to implement their initialization, just question from architecture perspective - for me it looks much better if top-level interfaces operated by interfaces (like it was in IdentitySession in jBPM4) - not by concrete implementations
I'm trying to implement own IdentitySession - I need to get information about User & Groups from another system (Liferay in my case).
It is not a big problem - since I've already did same thing for jBPM4 - and Activiti and jBPM4 are quite close in this par tof API.
But - I was surprised, why Interface IdentitySession operated not only by interfaces (Group, User), but with implementation classes as well (GroupEntity, UserEntity).
Since both classes are almost POJO - it is not a big issue to implement their initialization, just question from architecture perspective - for me it looks much better if top-level interfaces operated by interfaces (like it was in IdentitySession in jBPM4) - not by concrete implementations
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2010 10:02 AM
i can't recall if there was a specific reason for it. your request seems valid. we should try to switch to interfaces.
created http://jira.codehaus.org/browse/ACT-319
created http://jira.codehaus.org/browse/ACT-319
