Replies: 4 comments 15 replies
-
We do have a |
Beta Was this translation helpful? Give feedback.
-
are your old libraries using any spring-specific features? |
Beta Was this translation helpful? Give feedback.
-
Just to say, as I see it the alternative approach is for a project currently using Spring DI to convert over to avaje-inject is to search and replace from the spring annotations to the avaje-inject / Jakarta.inject annotations. As I see it, this is more explicit and removes dependencies from the classpath / module-path which to me is important. To migrate over to avaje-inject but then still require lots of spring dependencies in the classpath is not a great win as I see it.
spring-data is unlikely to be a motivator for me personally - I have been aiming for a different destination for quite a long time so spring-data isn't where I'm heading to or choosing. Did I understand correctly that you are really wanting to use avaje-inject with spring-data? A specific module in spring-data in particular? |
Beta Was this translation helpful? Give feedback.
-
I don't know of any issue avaje-inject has here per say.
Ultimately my goal for avaje-inject is not to improve an existing spring app with many spring dependencies. Other people might try to do something here for that but I don't see that ever being my focus or putting my time and effort into that.
Interoperation with Spring-DI really isn't a goal of avaje-inject so I don't see people migrating "large" Spring apps to use avaje-inject but instead adopt it for smaller newer things. It really depends on the specific dependencies as I see it.
I am the creator of ebean orm. Given a choice, I do not choose to use spring-data for database access. |
Beta Was this translation helpful? Give feedback.
-
Recently, I started a project with avaje-inject as DI library, it works really well for me on new classes but then when I have a request to reuse a number of rather old libraries with Spring annotations.
I can bring up Spring application context and just use it but I am wondering whether or not can avaje-inject interop with other DI framework which relies on annotation?
I means, in my humble opinion, if we can interop from avaje-inject side, it will open a whole new door for avaje-inject adoption.
Beta Was this translation helpful? Give feedback.
All reactions