This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin for Android App Development and have Peter Sommerhoff on-line!
See this thread for details.
Win a copy of Kotlin for Android App Development this week in the Kotlin 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Default connection time out with Spring Boot?  RSS feed

Ranch Hand
Posts: 72
  • 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 !
Posts: 1093
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.
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!