I need put my web jsf files (xhtml or jsp files) on jar. for I can put or remove the files in groups on deploy. Like a Modules.
This is possible?
No, you can't bundle your JSP files inside a JAR file, and in turn bundle this JAR file inside your WAR file (if that is what you were trying to do).
JSP files and static resources must be made available at the root level directory (or a subdirectory) of your WAR file.
Thanks for you attention!
you have one approach for make war like modules?
I Think so, make subcontext, like:
And each modules is one different jar:
printipalcontext.war (this have templates and others common objects)
principalcontext_module1.war (like a User Manager Module)
principalcontext_module2.war (... Product Manager module)
principalcontext_module3.war (and so on)
but make cross context sessions for share session's objects?
All Suggestions is welcome, like sites or books(Chapters).
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.