Split the project in four packages:
- Application, containing the webapp
- Persistence, containing the hibernate persistence
- Jobs, containing the Job to activate downstream pipeline
- APIs, containing the APIs to put everything together. Those are basically:
x DTO interfaces + Factory
x ServiceFactory for the persistence Layer
x Analysis manager interface
Dependencies should be the following:
- Application: JSF + Primefaces+ APIs
- Persistence: Hibernate + APIs
- Jobs: APIs + ...
At the moment there are some services (RequestFormService, ExternalUserService not following the API+Implementation pattern . Refactor this!!!!)
This will give us a complete modularity in order to write custom Persistence and Jobs layers
Split the project in four packages:
x DTO interfaces + Factory
x ServiceFactory for the persistence Layer
x Analysis manager interface
Dependencies should be the following:
At the moment there are some services (RequestFormService, ExternalUserService not following the API+Implementation pattern . Refactor this!!!!)
This will give us a complete modularity in order to write custom Persistence and Jobs layers