Hi,
I'm not talking about inheritance, only usage relationships. For
example, I have 2 services :
* locator, which locates resources
* common, which provides common stylesheets
Each service is using the other one, not in a fallback mechanism. I'm
surprised this behavior is not allowed.
With C21, I could use mount table to describe where my services were
located. How may I design this in C22 ? Is servlet: the right choice in
my case ?
JC
Grzegorz Kossakowski a écrit :
Jean-Christophe Kermagoret pisze:
Hi,
is it possible to make circular references with servlet services ?
No and if you need circular references you can be pretty sure that
there is a flaw in your design and you must go back to the whiteboard.
Also take a look at COCOON-2036[1] and COCOON-2038[2] and this
discussion[3] that give you an idea why circular dependencies are
wrong and how to avoid them. Especially this[4] and this[5] messages
are the most interesting.
Thanks for your help
I hope that helps a little.
[1] https://issues.apache.org/jira/browse/COCOON-2036
[2] https://issues.apache.org/jira/browse/COCOON-2038
[3] http://thread.gmane.org/gmane.text.xml.cocoon.devel/72317
[4] http://article.gmane.org/gmane.text.xml.cocoon.devel/72335
[5] http://article.gmane.org/gmane.text.xml.cocoon.devel/72358
--
Jean-Christophe Kermagoret,
OpenBlueLab Technological Leader
http://www.openbluelab.org
http://forge.openbluelab.org
http://wiki.openbluelab.org
http://demo.openbluelab.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]