This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring in Action (5th edition) and have Craig Walls on-line!
See this thread for details.
Win a copy of Spring in Action (5th edition) this week in the Spring 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
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Default connection time out with Spring Boot?  RSS feed

Ranch Hand
Posts: 42
  • 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 !
Ranch Foreman
Posts: 1024
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!