I have two different Maven-Based JSF Web Projects (Netbeans and Glassfish) one for admin users and the other one is for regular users. I wanted to keep them separate because it is simpler this way. Entity classes will be the same and I want these two war projects share these entity classes.
What is the best way of doing this? I don’t want users and admins share the same UI because it gets too complicated I want to keep their user interfaces separate it is much easier and clear for me.
Thanks a lot
I would suggest that you split both your projects into at least 4 maven projects:
The EAR pom.xml could look like:
and look at the
maven-ear-plugindoc if you need some customization of context-root or library deployment.