rmannibucau commented on pull request #82: URL: https://github.com/apache/johnzon/pull/82#issuecomment-1070505188
> I could not understand the point where build time evaluated annotations and there dependencies are a problem. Idea is to not add OSGi in all modules - since most of the contributors are not OSGi experts ;) - and keep it located in a dedicated module to avoid unexpected changes. > The BufferStrategy over ServiceLoader mechanism was just because loading classes by name from a classloader in this way doesn't convince me. This is something we can discuss on the mailing list but long story short it is to fit the way to configure JSON-P through properties (per factory instance). ServiceLoader would be per classloader and require a priority so you wouldn't be able to use different strategies per JSON-P component instance whereas we are today. But once again, we can refine it if there is an use case but it is unrelated to OSGi ;). > If there's any point where you need more OSGi support. Can you refine it? We run well in OSGi - we are commonly used with aries and Karaf - so would be great to have more details about what you miss? -- 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: dev-unsubscr...@johnzon.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org