Skip to content

A super simple single table CRUD example with Spring Data JPA and Vaadin.

Notifications You must be signed in to change notification settings

mstahv/spring-data-vaadin-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spring Data JPA CRUD with Vaadin

A super simple single table CRUD example with Spring Data JPA and Vaadin. Uses Spring Boot for easy project setup and development. Helps you to get started with basic JPA backed applications and Vaadin Spring Boot integration library.

For larger applications, consider applying some commonly known design patterns for your UI code. Check e.g. this MVP example.

How to play with this example

Suggested method

  • Clone the project
  • Import to your favorite IDE
  • Execute the main method from Application class

Just execute it with maven

git clone https://github.com/mstahv/spring-data-vaadin-crud.git
cd spring-data-vaadin-crud
mvn spring-boot:run

Just create the package and run it

The built .jar file is auto-runnable, so as you can move it to any computer having java installed and run the app.

git clone https://github.com/mstahv/spring-data-vaadin-crud.git
cd spring-data-vaadin-crud
mvn package
java -jar target/spring-data-vaadin-crud-0.0.1-SNAPSHOT.jar

Just deploy it

The built jar file is really simple to deploy in modern PaaS services. E.g. if you have existing cloud foundry account and are already logged in with your cf (CLI) tools just execute following:

git clone https://github.com/mstahv/spring-data-vaadin-crud.git
cd spring-data-vaadin-crud
mvn install
cf push choose-namefor-your-server-here -p target/*.jar -b https://github.com/cloudfoundry/java-buildpack.git

Note, that you can also use the cf push without the java-buildpack, but then you need to downgrade the example to Java 7. Check out the custom "java7" branch for that.

About

A super simple single table CRUD example with Spring Data JPA and Vaadin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •