On 2002.02.25 03:47:06 -0500 Sacha Labourey wrote:
> Hello,
> 
> In the MainDeployer code, when you deploy a package containing
> sub-packages:
>       - init will be called on the wrapping package first, then on the
> inside
> packages
>       - create will be called on the inside packages first, then on the
> wrapping
> package
> 
> Why this logic? I don't mean I consider it to be wrong, it is just that I
> don't see the rational behind it.

I doubt it is essential, however... init usually just identifies the
deployment descriptor and file to watch.  There is some advantage to
locating this as soon as possible, to help avoid runaway redeploys in case
of failure later. If an expected deployment descriptor is missing, you
could stop immediately.  Create and start pretty much need to be done
inside out since usually outside packages depend on whats inside
(applications depending on their ejb modules for instance).


Thanks
david jencks

> 
> Thank you. Cheers,
> 
> 
>                               Sacha
> 
> 
> 
> P.S.: I was reading version 1.22, maybe it has changed since Saturday.
> 
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 

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

Reply via email to