spring - context:component-scan takes more than 2 minutes to complete -


i new springs. tried using context:component-scan scan package like

<context:component-scan base-package="org.example"> 

however seems time consuming , takes more 2 minutes. there way improve performance

if have lot of classes it's normal take long. scan classes should not scanned. can optimise scan packages need. example if have annotated controlers can scan package witch contains them. <context:component-scan base-package="org.example.web.controller">.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -