The IConnection interface and the Connection class (and its dependent classes) needs to be refactored:
- They are just too big: The IConnection interface defines 65 methods, the Connection class has more than 1000 LOC and no line of Javadoc
- The procedure of opening a connection (connect, bind, load RootDSE, cache/refresh schema, load base entries) is just horrible
- The Connection class uses LDIF as an interface between the browser classes and the JNDI layer to retrieve information from the directory or to commit modifications. This causes heavy CPU consumption and slows down mass operations.
- In order to support new features lik strong authentication with SASL, extended operations and controls we also have to extend the IConnection interface.
I will create an confluence page that shows the current design. It would be cool if we could discuss the needed requirements and improve the design.
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|102d 21h 13m||1||Stefan Seelmann||15/Sep/07 19:07|
|81d 1h 29m||1||Stefan Seelmann||05/Dec/07 20:37|
|190d 16h 8m||1||Pierre-Arnaud Marcelot||13/Jun/08 12:46|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Resolution||Fixed [ 1 ]|
|Status||In Progress [ 3 ]||Resolved [ 5 ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Field||Original Value||New Value|
|Assignee||Stefan Seelmann [ seelmann ]|
|Affects Version/s||1.0.0 [ 12312288 ]|
|Fix Version/s||1.1.0 [ 12312701 ]|
|Affects Version/s||0.8.2 [ 12312689 ]|
|Affects Version/s||0.8.1 [ 12312562 ]|