Is there a default timer in Spring which will expire the webservice calls?
Explanation in Detail:
Suppose, I have a Spring boot application and I have RESTful web services. I am using Apache Tomcat and I have deployed the WAR on the server. My webapp is communication with the database using these RESTful webservices. Suppose I am accessing the website on the server after logging in to the website using LDAP authentication, and keep my browser open for indefinite period of time period, is there a default time after which the connection or webservice calls are going to expire?
You should give more details about the whole application, I didn't understand if you have a website application deployed in Tomcat which, in turn, connects to a spring Boot application deployed elsewhere via return, or if you have deployed your Boot application as war into tomcat.
Anyway, this doesn't really matter . A call to a rest API endpoint should last the smallest possible amount of time, it should not take a long time to be completed. If it takes too much time, the associated web request usually times out, and you should notice some errors in your webserver logs.I can guess that is also the authentication token that expires.
The two armies met. But instead of battle, they decided to eat some pie and contemplate this tiny ad:
Create Edit Print & Convert PDF Using Free API with Java