rmannibucau commented on PR #321:
URL: https://github.com/apache/openjpa/pull/321#issuecomment-7213779126

   @cristof the runtime impl was great, I was more worried about startup. In 
OpenEJB we chased ms to start in less than 1s with scanning etc, so if the 
lookups and failed CDI.current().getBM() adds 150ms when cdi is totally 
disabled in OpenEJB it can be negative overall. This is more a toggle side 
question, do we add the penalty to everyone (including previous working fine 
apps) to enable CDI OOTB or do we make it an explicit toggle and an EE 
integrator thing to setup when relevant. There is also the backward compat 
thing, some injection was done in listener lazily using `@Inject` already so 
now we might do it twice.
   
   except that point PR really looks great now to me
   
   just to be clear: nothing crazy but I want to ensure we clearly state to end 
users that it might break their app and have a small startup impact


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to