How do you organize your Maven modules in a Java EE application? Currently what we do is have the following Maven modules under a parent POM:
- ear
- ejb
- ejb-api
- core
The ejb module contains only EJB classes, while the core module contains all other utility classes, including entities. The ejb-api is a lightweight module that contains local and remote interfaces, for inclusion in separate applications in needed. ear is used to make an EAR package and deploy it to application server.
How do you structure your application? I am particularly interested in where you store your utility classes and entity classes.