We’ll probably start using WAR overlays soon. We have some Javascript and JSF 2 custom Facelets components that belong together, along with some managed-bean Java classes. Is it possible to bundle everything, including the Java classes, in a Maven WAR overlay? Would it be best to put the Java code in a different Maven module for some reason?
Thanks!
The best practice is to put the Java code in a jar and other resources (js, css, images etc…) in a war.