[jsr294-modularity-eg] Capturing dependency information
Andreas Sterbenz
Andreas.Sterbenz at Sun.COM
Mon Jul 16 16:32:12 EDT 2007
Eugene Vigdorchik wrote:
>
> Do you really think we should leave the decision on what annotations
> are used to describe dependency relation to deployment framework
> vendors? While I see java is not able to handle all the dependency
> kinds of all the frameworks, I think that if we envision those
> frameworks would provide the annotations, It seems a good idea to
> standardize on them in advance. Otherwise we should probably discourage
> those annotations at all or we are going to end up with a mess of
> deployment solutions penetrating to compile-time also...
>
> Or is it better to be addressed by JSR-277?
I expect JSR 277 will define annotations to express dependencies between
its Modules. Those would also be used by other frameworks that build on
top of JSR 277. Other module systems will make or have already made their
own decisions. For example, OSGi declares dependencies in its own file
format rather than in Java source files.
In either case, I believe that decision is best left up to those
specifications and not something we can define in JSR 294.
Andreas.
More information about the jsr294-modularity-eg
mailing list