[root]/Agmial2/common/src/agmial/control
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 15 (100.0%) | 679 (100.0%) | 45.2 |
rbossy | 5 (33.3%) | 549 (80.9%) | 109.8 |
vloux | 10 (66.7%) | 130 (19.1%) | 13.0 |
CAM Summer Cleaning !
Various code cleaning (imports, externalisation of some parameters in properties files).
6 lines of code changed in:
CAM Summer Cleaning !
+ Database Pooling with apache dbcp (Database Connection Pools <http://jakarta.apache.org/commons/dbcp/>) served via jni to the servlet. Added a context.xmlfile with all the parameters for the connection.
+ Users and Roles are no longer stored in an xml file. Management via a dedicated database, served via jni to the servlets.
CAM refactoring :
moving all select/update/insert statement into contigdb package :
admin/ContigStoreAdminImpl.java OK (2)
admin/MonitorBatchTasks.java OK (1)(2)
admin/MonitorContigTasks.java OK (2)
admin/MonitorFeatureTasks.java OK (2)
admin/MonitorProjectTasks.java OK (2)
admin/MonitorTasks.java OK (2)
admin/ShowAddBatch.java OK (2)
admin/ShowAdminBatches.java OK (2)
admin/ShowUpdateContig.java OK (2)
admin/ShowUpdateProfile.java OK (2)
control/BatchActionMotivation.java OK(2)
control/BatchActionQueue.java OK(2)
control/BatchCalcAction.java OK(2)
control/ContigActionMotivation.java OK(2)
control/ContigActionQueue.java OK(2)
control/FeatureActionQueue.java OK(2)(3)
control/ProjectActionQueue.java OK(2)
control/ProjectMotivation.java OK(2)
control/QueryFeatureMotivation.java OK(2)
reader/ContigStoreQueryImpl.java OK
reader/EditFeature.java OK(2)
reader/MugenPanel.java TODO
reader/ProfileStoreQueryImpl.java OK(2)
(1) CAMActionList creation
(2) new methods in ContigDB
(3) CAMFeature creation
New policy for database accession :
All db accession is made via classes from the contigdb package.
For each object , two classes : CAMObject is the POJO
object.CAMOjectSchema is the Data Transfer Object and make the link
between the database and the POJO.
The CAMObjectSchema has at least two methods : add(CAMObjectSchema)
and update CAMObjectSchema();
ContigDB provide methods to interact with the object, mainly
getters/setters that call the corresponding methods in CAMObjectSchema.
--> reader/MugenPanel.java TODO
21 lines of code changed in:
Nettoyage du code : imports, methodes deprecated ...
8 lines of code changed in:
Preambule GPL
95 lines of code changed in:
Initial revision
549 lines of code changed in: