Re: Cayenne and GraalVM

2023-01-12 Thread Andrus Adamchik
Possibly. Though ServiceLoader that does auto-loading is pretty standard Java API. > On Jan 12, 2023, at 9:11 PM, Michael Gentry wrote: > > Is that due to reflection? > > On Wed, Jan 11, 2023 at 8:09 AM Andrus Adamchik wrote: > >> And per the latest comments in that task, Cayenne actually

Re: Cayenne and GraalVM

2023-01-12 Thread Michael Gentry
Is that due to reflection? On Wed, Jan 11, 2023 at 8:09 AM Andrus Adamchik wrote: > And per the latest comments in that task, Cayenne actually works with > Graal, just not the module auto-loading part: > > ServerRuntime.builder() > > // no autoloading, each module will need to be explicitly ad

Re: Cayenne and GraalVM

2023-01-11 Thread Andrus Adamchik
And per the latest comments in that task, Cayenne actually works with Graal, just not the module auto-loading part: ServerRuntime.builder() // no autoloading, each module will need to be explicitly added below .disableModulesAutoLoading() // add the main Cayenne module .addModule(new S

Cayenne and GraalVM

2023-01-10 Thread Andrus Adamchik
FYI: https://github.com/oracle/graal/issues/5716 A discussion on how to package a Cayenne app to a native executable with Graal. If anyone tried doing that before and has some experience, feel free to chime in. Andrus