[jboss-dev] M2 Boot time

Rémy Maucherat remy.maucherat at gmail.com
Mon Feb 15 13:59:25 EST 2010


On Thu, Feb 11, 2010 at 5:47 PM, Brian Stansberry
<brian.stansberry at redhat.com> wrote:
> As a quick way to experiment, I changed deploy() for
> WARAnnotationMetaDataDeployer and ServletContainerInitializerDeployer to add
>
>       if ("admin-console.war".equals(unit.getSimpleName()))
>          return;
>
> That cut the boot time of "default" with on-demand disabled from 38s to
> 30s. I get 22s with on-demand enabled.

Ok, I've added (basic) scanning meta data support in the SCI deployer
and the WAR annotation deployer. So you can now add the
jboss-scanning.xml meta data wherever appropriate.

Rémy




More information about the jboss-development mailing list