Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Data provider class - Instantiate or use public static methods

$
0
0

Hi,

 

For the Business logic that would be used by the DPC ext class, is it not good to use Static methods instead of instantiating and then calling the method? Since the call for populating entity sets are independent of each other, the instantiating does not help much(my opinion). The business logic method itself can instantiate other classes to be able to optimally get the required data.

 

Would like to know others view on this?

 

Thanks

Jayant


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>