Search code examples
primefacesjboss7.xjava-ee-6jboss-eap-6

Should primefaces be a jboss module? or just an WAR lib?


We have started using primefaces with JBoss EAP 6.2 in our new projects?

I noticed that we use it configured as module in JBoss as opposed to just a WAR lib.

Some examples online show it to be used as a module too.

I'm a bit worried as this will tie us to a one specific version of the library for the whole instance.

Which one is the right approach?

  • Module
  • War lib
  • EAR lib (don't think this would work)

Solution

  • Tested primefaces as a WAR lib and it worked fine.

    I reckon this would be a cleaner approach allowing us to use multiple versions in different projects.