Hi Dimitri CDI injections are created - more validated actually - at startup and dont rely on JNDI at all. EE injections rely on JNDI and are linked to CDI through a particular bean (Comp) representing the whole webapp JNDI tree.
In term of code an InjectionTarget should work but needs to be there at startup. That said: why not using es6 and or purescript/typescript to get real imports and potentially annotations/decorators and just convert it to java and then wire it through websocket? Sounds like a simple and safe impl to me to do that. Le 29 mars 2016 01:48, "Dimitri" <mi...@cargosoft.ru> a écrit : > Sorry for broken links. Shouldn't have used line wrapping in my mail > client. > > Project write-up: > https://gist.github.com/dteleguin/c93fe4a4c666234729d8 > > StackOverflow thread: > > http://stackoverflow.com/questions/36239250/injecting-java-ee-resources-into-dynamically-loaded-classes >