• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Presistence of data with Spring-Boot HSQLDB

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm new to Spring and I have the following problem for an application I'm doing:
I would like to make a self-contained application to deploy on PC's that is run with their own Tomcat or Jetty servlet container and local run HSQLDB or similar. Above all it must persist data.
I'm sorry for the broad issue but the idea is to have a Persistence of data between Several deployments.
That is the application is used and the database inserted on one PC then the same data will be used in Another PC ... basically the files have to be copied and used on another computer.
and no, there's no internet on the usage scenario pretended.
It's just a very very small application to list and track quota payment on a small club. Very simple to make ... the problem is deployment and the type of usage pretended by the end users.

Is this possible under Spring-Boot ?

Regards.


 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Certainly, Spring Boot is very well suited for something like this.

A Spring Boot app normally compiles to an executable JAR that contains everything that the app needs - so it's super easy to run it and you don't need a complicated installation.

You an make web apps with Spring Boot - it will deploy and run those in an embedded Tomcat or Jetty container. "Embedded" means that that the Tomcat or Jetty runs inside the application itself - you don't need a separate Tomcat or Jetty.

With Spring Data JPA it's very easy to use a database, which can also be a database like HSQLDB, which you can either run as an in-memory database or a disk-based database.
 
She still doesn't approve of my superhero lifestyle. Or this shameless plug:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic