Making simultaneous function calls in Java
<p>In my application I am loading a cache in following manner.</p>

<ol>
<li>Load user cache loadUserCache();</li>
<li>Load account cache loadAccountCache();</li>
<li>Load customer cache loadCustomerCache();</li>
</ol>

<p>Each above call involves a database calls. Like wise there are 6-7 calls.</p>

<p>When my application is getting loaded , I have to wait untill the cache gets loaded.</p>

<p>Those are all sequential call one after another.</p>

<p>If I can find a way to make these calls parallelly, then the waiting time during application loading will come down drastically.</p>

<p>Can someone please help me making such parallel call or any other alternative approach?</p>

<p>Thanks in advance.</p>
