Hi everybody !
I want to integrate a simple rule engine. This rule engine needs to access the database for some operations (actually viia the core). But the core needs the rule engine to validate some DTOs/Entities !!! So Maven throws an (normal) cyclic reference error !!
Is there a simple way to separate the access modules (DAOs) from the business core module ? I mean having a maven module for business services and an other only for DAOs.
The same problem for an other maven module to externalise batchs that needs to access the database (actually via the core) and the core needs to access the batch module to configure batchs...
The last point, and not the least, the core generate a client artefact with services interfaces, DTOs, entities, exceptions and enumerations... So all others modules needs this module but this module is depends of the core module (classifier tag). So the cyclic reference can appear...
Any suggestions ?
Regards