I'm trying to migrate from a classic monolithic JavaEE application (Wildlfy, DB, JMS etc..) to a cloud one using Quarkus. I'm dividing the application into services, that are interacting with each other through REST APIs. So far so good.
My problem is that I still need to support a standalone installation. I did find a way to build the app as a whole: all services are modules of the same application and the communication is done through beans and not through REST calls. Using profiles at compile time I can decide whether to build a series of services or a single application.
Everything seems to work, but I was wondering if it's a misusage of Quarkus. Should I try another approach? Has anyone had a similar requirement?
Marco.