• 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
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Spring in Action promo: question about replication  RSS feed

 
Ranch Hand
Posts: 46
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I would like to be able in the future to build stateful applications with Spring in high-availability. I don't want to configure Tomcat for session replication, either with multicast nor with persistence to a database. I would like, instead, my Spring application to manage sessions by its own and keep them in a high-availability database, either sql in replication or mongo db. This way everything which requires state can be persisted in real-time to the database, and I don't need any particular configuration on the tomcat/servlet side. Is this possible to achieve with Spring, or does it build its foundation on the Servlet sessions? Does the book cover arguments like high-availability, clustering and replication of the web application?

Thank you
Martin
 
author
Posts: 396
8
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

The book doesn't cover the topics you are asking about, but that is the subject of a relatively new project called Spring Session. Check it out at https://spring.io/blog/2014/07/08/spring-session-1-0-0-m1-released.


Martin Bechtle wrote:Hello,

I would like to be able in the future to build stateful applications with Spring in high-availability. I don't want to configure Tomcat for session replication, either with multicast nor with persistence to a database. I would like, instead, my Spring application to manage sessions by its own and keep them in a high-availability database, either sql in replication or mongo db. This way everything which requires state can be persisted in real-time to the database, and I don't need any particular configuration on the tomcat/servlet side. Is this possible to achieve with Spring, or does it build its foundation on the Servlet sessions? Does the book cover arguments like high-availability, clustering and replication of the web application?

Thank you
Martin

 
Martin Bechtle
Ranch Hand
Posts: 46
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow this project seems great, thank you!
 
You showed up just in time for the waffles! And this tiny ad:
ScroogeXHTML - small and flexible RTF to HTML converter library
https://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!