[weld-dev] Jandex

Martin Kouba mkouba at redhat.com
Thu Nov 16 09:19:42 EST 2017


Hi Emily,

AFAIK WildFly makes use of existing Jandex indexes and if not present a 
new one is build on the fly (for deployment and external modules) but 
the generated indexes are not persisted.

But in WildFly not only Weld leverages the indexes - all other 
annotation-based technologies should use them too.

Martin

Dne 15.11.2017 v 14:47 Emily Jiang napsal(a):
> Hi Martin/Matej,
> For using Jandex to improve bootstrap performance of CDI application, do 
> you know any application server (e.g. Wildfly) normally requires the 
> index files to be generated before hand or it can generate on the fly 
> and then persist it? Do you know whether there is much performance gain 
> to generate the index files on the fly and then persist it when compared 
> with not doing it at all (by passing jandex)?
> Thanks
> Emily
> ================
> Emily Jiang
> 
> WebSphere Application Server, MicroProfile Development Lead
> Phone: 44-1962-816278
> E-mail: emijiang at uk.ibm.com <mailto:emijiang at uk.ibm.com>
> Twitter: @emilyfhjiang
> IBM United Kingdom Limited
> Registered in England and Wales with number 741598
> Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
> Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with number 
> 741598.
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
> 
> 
> 
> _______________________________________________
> weld-dev mailing list
> weld-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/weld-dev
> 


More information about the weld-dev mailing list