Hi, this might not be the right place to ask this (and/or maybe I missed something obvious…) is there a way to precompile or create a manifest or similar for the injection points?
Our app (v8) uses Vaadin CDI, has been running ok for years. When the server (tomee) starts the app, it takes 4-8 seconds to register various objects for Vaadin CDI. It’s not bad, but if we start to deploy multiple contexts, the CDI time starts to add up to a significant number.
Each context has to do the same thing, So it seems to me the sensible thing would be to precompile or preprocess this step in some way, creating something like a manifest that can be passed to CDI and used much more efficiently.
Should I craft a beans.xml to contain the CDI info? (I guess that is a task outside the scope (pardon the pun) of Vaadin CDI?)
BTW, this is all in a ‘legacy’ app which we don’t want to make significant change to at this time…