Setting Bean Search Scope by Batch Job Unit
By default, batch execution scans all resources to create beans. Therefore, if the application where the batch is written is large or there are many referenced applications, a significant amount of time is required for initialization to extract beans. If the developer is aware of all the packages of the beans used during batch execution, the initialization time of the batch job can be reduced by configuring the bean search scope. Since all subpackages of the entered package become search targets, the more detailed the package is, the faster initialization is performed.
<job-component xmlns="http://www.bankwareglobal.com/schema/batchex" id="jobcomp" with-dependon="true">
<base-package name="bxm.dps.mdp.bean">
<include name="MMdpCustMng*"/>
</base-package>
</job-component>