Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty maven plugin: slow start

Hi Thomas,

You can provide patterns for which jars in WEB-INF/lib and which classes in WEB-INF/classes should be scanned.  Here's the link: https://www.eclipse.org/jetty/documentation/current/using-annotations.html#jars-scanned-for-annotations

Jan

On 31 July 2015 at 02:49, Thomas Meyer <thomas@xxxxxxxx> wrote:
Hi,

We facing slow starts of jetty using the jetty maven plugin.

I ananlysed this a bit and the culprit seems to be the @HandlesTypes processing because of ServletContainerInitializers.

As far as I understand the class AnnotationConfiguration it's only possible to skip processing of given ServletContainerInitializer list.

Sadly above option seems to have nearly no impact on processing time as still all classes in all jars in the war must be scanned... Or mustn't it?

So an option would be awesome to tell the AnnotationConfiguration to skip processing of certain packages, e.g. all classes in the eclipselink package...

Does above option already exist and did I just miss it? Would above option make sense?

Feedback is warmly welcomed.

With kind regards
Thomas
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top