0

Is it possible to use a JSF template created in a java web application, and use it in others java web applications? How can i achieve this?

Actually, i have the same footer and header code in all web applications and the content its dynamic (managed bean, etc.), not static HTML. We are using JSF 2.1 and JBoss EAP 6.3. Thank you!

BalusC
  • 992,635
  • 352
  • 3,478
  • 3,452
NachoPe
  • 11
  • 3
  • See also http://stackoverflow.com/questions/8320486/structure-for-multiple-jsf-projects-with-shared-code – Jasper de Vries Sep 20 '16 at 18:14
  • Jasper, BalusC. We have multiple java web application projects and i want to use one web application as a template for the others web applications deployed in the JBoss Server, not a JAR. – NachoPe Sep 20 '16 at 19:10
  • The multiple projects parts was clear. For what reason can't you use a JAR? – Jasper de Vries Sep 20 '16 at 19:19
  • Because in the header we use a @ManagedBean, but i think we can resolve that with faces-config.xml in the JAR. Thank you! – NachoPe Sep 20 '16 at 19:56

0 Answers0