directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel L├ęcharny <elecha...@gmail.com>
Subject [Fortress] About xxxP and xxxDAO classes
Date Thu, 06 Nov 2014 18:59:38 GMT
Hi,

we discussed in FC-42 the opportunity of using a shared ldapConnection
accross many operations. Now that the pool does not validate or re-bind
teh connection when we are done with it, the need to share the
connection is less critical.

Although I wonder if it's still a good idea to have two classes, like :
o AdminRoleDAO and AdminRoleP
o AuditDAO and AuditP
o OrgUnitDAO and OrgUnitP
o PermDAO and PermP
o PolicyDAO and PolicyP
o RoleDAO and RoleP
o SdDAO and SdP
o UserDAO and UserP

Why can't we move the logic from xxxP to xxxDAO ?

Sorry if it sounds like a naive question...


Mime
View raw message