Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jakartaee-platform-dev] Scanning specification

I changed the title so an not to hijack the thread RE: Profiles.


I’d be in favour of a scanner spec or even SPI to also include a common Jar index format so all Jakarta specs could use the scan metadata and any cached metadata from the jar. HK2 already has a rudimentary api for Types Repository (glassfish-hk2/ at master · eclipse-ee4j/glassfish-hk2 ( and a Scanner glassfish-hk2/ at master · eclipse-ee4j/glassfish-hk2 (


What is the best way to kick of an initial discussion? An issue in the Platform Project repo?




From: jakartaee-platform-dev <jakartaee-platform-dev-bounces@xxxxxxxxxxx> On Behalf Of Jesse McConnell
Sent: 17 March 2021 12:03
To: jakartaee-platform developer discussions <jakartaee-platform-dev@xxxxxxxxxxx>
Subject: Re: [jakartaee-platform-dev] Additional profiles


Speaking of scanning, that ought to be a spec in of itself at this point, so the entire application gets scanned once and all of the various APIs can make use of that scan data, servlet would definitely benefit from this. That would be a good extension to the core profile, which I quite like the name of.


Looking back to David's original premise though, it appears that we're less creating novel profiles and more just segmenting the existing ones and building up. Is this a situation where web profile would rely upon a specific version of a specification or a version of a core profile? 


I do support separately releasing profiles.




On Wed, Mar 17, 2021, 05:56 arjan tijms <arjan.tijms@xxxxxxxxx> wrote:



On Wed, Mar 17, 2021 at 3:11 AM David Blevins <dblevins@xxxxxxxxxxxxx> wrote:

 - Faces and standard tag libs add significantly to startup times due to TDL scanning and annotation scanning.


Actually Faces (at least Mojarra) doesn't do any annotation scanning itself. It uses the annotations that are handed to it via the @HandlesTypes in the ServletContainerInitializer. I guess it depends on the Servlet container if this triggers explicit extra annotation scanning or not.


Faces and Pages do .tld (and in case of Faces -taglib.xml) scanning indeed which has some cost since it looks for patterns.


Kind regards,

Arjan Tijms




jakartaee-platform-dev mailing list
To unsubscribe from this list, visit

Back to the top