This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Grokking Bitcoin and have Kalle Rosenbaum on-line!
See this thread for details.
Win a copy of Grokking Bitcoin this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

Default connection time out with Spring Boot?  RSS feed

 
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thanks !
 
Bartender
Posts: 1120
38
IBM DB2 Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!