JSF Tip #66 - Just enough JSF

If you are not running an EE container you can still use JSF. In Maven you will use the direct dependency instead of the EE dependency.

            
    <dependency>
        <groupId>org.glassfish</groupId>
        <artifactId>javax.faces</artifactId>
        <version>fill_in_your_version</version>
    </dependency>
        

Note that this only takes care of JSF. You would still need EL and Servlet dependencies if you need access to those as well.

Posted September 9, 2016

Up