Tuesday, February 21, 2012

JBoss Trimming - remove JSF

If you are not using JSF, you can trim jboss and remove JSF from getting deployed!
You can do this by commenting everything in the deployers\jsf.deployer\META-INF\jsf-integration-deployer-jboss-beans.xml.
Just keep following lines.
<?xml version="1.0" encoding="UTF-8"?>
<!--
    JBoss JSF + JBossAS integration
-->
<deployment xmlns="urn:jboss:bean-deployer:2.0">
</deployment>

This will save a lot of time while starting jboss… the time jboss uses in JSF initialization.

Courtesy: Vishnu Gopal Singhal

No comments:

Post a Comment