Skip to content

ashraf-revo/spring-data-vaadin-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Data JPA CRUD with Vaadin

heroku

Github → heroku (spring-boot)

Deploy 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.

As an example for a really easy Vaadin add-on usage, there is Switch add-on added as a dependency and the application uses cdn.virit.in service to compile and host the widgetset. See this changeset for setup instructions.

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

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

Just deploy it

The built jar file is really simple to deploy in modern PaaS services. E.g. if you have existing Bluemix 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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages