I develop a JavaEE app in two separate maven projects:
- one project is the API
- the other is a JSF app where calls are made to the API of the 1st project.
They both share the same Model (the classes describing my data structure).
How can I have these 2 projects to share the same Model? Should I create a third Maven project, which will contain these common classes, and this 3rd project will be a dependency for the 2 projects? It seems a bit heavy handed. Is there a better design?
Aucun commentaire:
Enregistrer un commentaire