-
1. Re: Source Location for EJB3 Components
alrubinger Jan 14, 2010 4:09 PM (in response to alrubinger)For better or for worse, I tracked these commits under https://jira.jboss.org/jira/browse/EJBTHREE-1721
S,
ALR
-
2. Re: Source Location for EJB3 Components
jaikiran Jan 15, 2010 12:57 AM (in response to alrubinger)ALRubinger wrote:
2) In compile scope, no component may depend on anything aside from the designated SPI.
I can't seem to understand this one Can you elaborate? For example, the async component is composed of multiple modules. So are we saying that the individual modules should not depend on anything other than the SPI?
-
3. Re: Source Location for EJB3 Components
alrubinger Jan 15, 2010 1:11 AM (in response to jaikiran)jaikiran wrote:
I can't seem to understand this one Can you elaborate? For example, the async component is composed of multiple modules. So are we saying that the individual modules should not depend on anything other than the SPI?
Sure. In this case ejb3-core is probably the only consumer of ejb3-async. So it'd depend upon ejb3-async-spi in compile scope, while the test runtime would need ejb3-async-impl as well. This ensures that components don't rely upon internals; when we need to do refactoring and bug fixes, we can limit the impact.
S,
ALR
-
4. Re: Source Location for EJB3 Components
jaikiran Jan 15, 2010 1:21 AM (in response to alrubinger)ALRubinger wrote:
Sure. In this case ejb3-core is probably the only consumer of ejb3-async. So it'd depend upon ejb3-async-spi in compile scope, while the test runtime would need ejb3-async-impl as well.
That makes sense. So it's actually the consumers of the component, which shouldn't depend on anything other than the spi in compile scope.
-
5. Re: Source Location for EJB3 Components
alrubinger Jan 15, 2010 9:27 AM (in response to alrubinger)Minor change after a discussion w/ Carlo:
I've moved the structure to leave space representing branches for each component.
http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/components/async/trunk
S,
ALR