Re: Replace @Inject
Lukasz Lenart <[email protected]> Wed, 5 Feb 2025 12:13:32 +0100
| Newsgroups | gmane.comp.jakarta.struts.devel |
|---|---|
| Message-ID | <CAMopvkP8VrW1NnDoSsjJGsTj2FupY55gWMd_trcLD2J_181ekQ@mail.gmail.com> |
śr., 5 lut 2025 o 10:13 Greg Huber <[email protected]> napisał(a): > > Struts has its own DI using @Inject annotation > > This could be a bonus as it not "another" dependency on the framework. > > Over time, the fewer dependencies the better. That's true, but the existing @Inject conflicts with JavaEE @Inject, also it doesn't support different types of constants, all of them have to be Strings with conversion made in target class. Anyway, maybe there is a place to copy some ideas (once license has been added :) Cheers Łukasz