Migrate a CUBA portal module

Hello community!

I’m currently trying to prepare the CUBA to Jmix migration and stumbled over a very basic question right at the beginning: What about the portal module?

Our CUBA application contains a portal module meant for non-backoffice user, reachable from a special sub domain redirecting to the portal path. However, the migration assistent completely ignores this. Furthermore, as the modulization seems to be largely abandoned, I also don’t see any way to create one in Jmix Studio. I couldn’t find a word about portal modules in the Jmix documentation, either.

So my questions are: Is the portal module still available? If not, what is the Jmix way to achieve the same goal? Are there any migration recommendations for portal modules?

Any hint is highly appreciated.

Greetings,
Manuel

Hi Manuel,

I think you can just copy your portal code to the new Jmix application source roots: controllers to src/main/java and templates to src/main/resources.

As Jmix is based on Spring Boot, most of the guides on the internet should work for you, see for example Getting Started | Serving Web Content with Spring MVC

Regards,
Konstantin