Skip to content

SpringBoot to Quarkus Overview

rashansmith edited this page May 22, 2020 · 6 revisions

Summary

After migrating the AppDev Spring Rest Survey Group project, here are the overall changes needed:

POM

  • Add Quarkus dependencies and configs added to pom.xml, remove Spring dependencies

Properties file

  • Add application.properties file

Controller

  • Add @ApplicationScoped, @RestController, @RegisterRestClient to class
  • Add @Transactional to all request methods

Repository

  • Implement PanacheRepository instead of JpaRepository

Models

  • Extend PanacheEntity

Services

  • Add @ApplicationScoped to class
  • Add @Transactional to each method

TESTS

Clone this wiki locally