Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The package names should be reviewed. Package names are not consistent and IMHO too long. So here I just put some questions and ideas.
Example from ldap-model:
org.apache.directory.shared.ldap.model.name.Dn
- Do we need the shared in package names? I think we can remove it, everything that doesn't start with o.a.d.studio or o.a.d.server in the name is implicitly a 'shared' package.
- Should we keep the model in package names? While I understand that during refactoring it's easier to see the model packages, it isn't common in other APIs.
The result could be: org.apache.directory.ldap.name.Dn
Example from ldap-client-api:
org.apache.directory.ldap.client.api.LdapConnection
- Do we need the 'client.api' in package names? I think we can remove it, everything with o.a.d.ldap in the name is implicitly the LDAP API.
The result could be: org.apache.directory.ldap.LdapConnection