> david, stop wasting my time
> 

David I apologies, I feel bad and I will explain the way I see it now.

2 steps: 
there is a "creation" of the service step and a "start" of the service state. 

We could in fact say postRegister() should be used for that, but then andreas pointed 
out that he needed configuration to be done and that is done after registration.  

I think I think of it as a 2 phase commit protocol.  Any time you have distributed 
objects that are dependent between each other (the 2phi being a dependency on everyone 
else committing). 

linear dependency (tree) allows for one step, I think that that much you have 
established.  I believe that you could in fact *prove* it. 

but the 2phi allows set of dependent services as opposed to linear structures.

The mathematicians in us will appreciate that 
Set >> Linear Graphs
I am french and raised on sets 

Then there is the simple legacy reason, folks have grown to view "create" and "start" 
as different lifecycles on their services, and I see nothing wrong with that, might be 
redundant (you say the factorization only needs one call, I agree on linear graphs 
disagree on sets), but there is an extremelly clear sentence being said to service 
developers.

Simple semantics is good. And it is what they know.

So that is a reason why I like sets, sorry for saying "don't waste my time" these are 
non -trivial points :D

Can we close this case and I will ask you to take a few minutes to review the 40 lines 
in ServiceDeployer
______________________________________________________________________
View this jboss-dev thread in the online forums:
http://jboss.org/forums/thread.jsp?forum=66&thread=5378

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to