CUBA - JMIX migration: Business logics

I do not see the business logic anymore in Jmix that I have used heavily in CUBA
image

I only see the ServiceBean option in REST but I want to use it in my Backoffice UI. Thanks for any clue.

regards

Hi,

The Business logic section in the CUBA panel in the end are just spring Beans (see this arbitrary example: https://github.com/Haulmont/jmix-petclinic/blob/main/src/main/java/io/jmix/petclinic/app/visit/VisitTestDataCreation.java#L27). So yes you can just use them also in Jmix applications :wink:

You can create and manage “business logic” through the regular project view of IntelliJ. See also this image: https://www.jmix.io/uploads/Entity_designer_cropped_1_6f66d2db8f.jpg

Bye

Thank you Mario, appreciated.

Hi mario. In Pet clinic example i can see that in some entities there is a folde Beanr like in example. If i have understood i can put here my business logic. But how i can create this folder?
bean

I can’t success on organize my project llike the petclinic demo