Great ! I already started to think for a lot more complex stuff for the complete .... :)
I'll ask one more question - hopefully the last one. Let's assume that I have a WAR file that needs that service to be up. I know that I can programatically add "dependecies" towards WAR depolyment. So far so good.
My question is: does the AS postpone the WAR file deployment until the service completes OR it will deploy it and then the WAR file will miss-behave (meaning throwing some kind of exceptions due to lack of access to the "late" service) ?
And I think I am going over the full exercice :) of understanding how AS works on that level. Thanks!