Home > Enterprise >  Any alternative frameworks like Spring but without using java reflections?
Any alternative frameworks like Spring but without using java reflections?

Time:09-27

It seems like Java reflections are having a huge performance impact on the spring application startup based on the size of the applications. So I am looking for an alternative framework like spring but without using java reflections. If none, any other alternative options in pure Java itself now or in future?

CodePudding user response:

I suggest to use the Java-Framework Micronaut for your requirements.

Micronaut is designed using Ahead Of Time (AOT) Compilation. It avoids reflection during runtime and gives you a very fast startup time.

The Micronaut framework features a dependency injection and aspect-oriented programming runtime that uses no reflection.

Keeps your startup time and memory footprint low by doing the heavy lifting up-front

  • Related