Is it possible to convert an existing spring or spring boot application to Cuba?
if yes, is there any documentation?
Thanks
Is it possible to convert an existing spring or spring boot application to Cuba?
if yes, is there any documentation?
Thanks
There is no wizard tool to do that for you automatically.
Cuba lays on top of the Spring framework, but the next version of CUBA is called Jmix and uses Spring Boot, so you may want to look at that https://www.jmix.io/
However, the same applies to both CUBA and Jmix
Hi,
Yes, it is possible (in theory), but requires some manual work. Basically, you’ll have to reimplement your data access layer with CUBA/Jmix as well as security.
So, we’d advise creating an empty CUBA/Jmix project and then copy the existing code layer-by-layer, starting from entities.
If you have Spring Boot project, it would be reasonable to use Jmix.
The steps you’ll most probably need to follow (but it really depends on your app architecture, code complexity, application size, etc.)
DataManager
or experimental Jmix Spring Data repositories.It is a very high-level plan, every application is different, so it is hard to say what exactly should be done in your particular case.
BTW Jmix 1.0 is out, so you can try the migration using this version.