Re: Replace @Inject
Greg Huber <[email protected]> Thu, 6 Feb 2025 09:57:55 +0000
| Newsgroups | gmane.comp.jakarta.struts.devel |
|---|---|
| Message-ID | <[email protected]> |
A safer bet maybe one of the JSR 330 complaint offerings, albeit more complex like the Guice. On 05/02/2025 11:13, Lukasz Lenart wrote: > ś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 > > --------------------------------------------------------------------- > To unsubscribe, e-mail:[email protected] > For additional commands, e-mail:[email protected] >