Current location - Health Preservation Learning Network - Healthy weight loss - Why is it so slow for java to call the WebService interface?
Why is it so slow for java to call the WebService interface?
1. By adding the start time and end time before and after the method called by java webservice, the final execution time of webservice can be obtained, thus excluding network factors.

2. Change the database and average it many times to see if there are similarities and differences.

3. Do similar sql query actions directly in the db layer, check the query time, and remember to average it many times.

4. Are there any other java methods that can be executed besides webservice calls?