On 2002.12.19 23:51:40 -0500 Dain Sundstrom wrote:
> I'm dumb. I have been work with SARs to much today, and I forgot that
> jars are also used for ejb-jars. Does the deployer only look at the
> name for distinction of the files? What I mean is can the main
> deployer, determine which files it needs to deploy, classify them into
> plain old jar, sar, ejb-jar, etc and then deploy the plain old jars
> first? I'm guessing the answer is "yes, write your own sorter."
It only goes by name, it doesn't look inside. I think that only the
subdeployers should look inside, so the determination of what kind of
package it is is entirely in the subdeployer.
How about initializing all the packages with the subdeployers, and then
sorting them? We could number the subdeployers or for more fun let them
specify dependencies on each other ("you go first, no, you go first").
However, I fundamentally think it shouldn't matter what order the packages
get deployed in because all dependencies (in an ideal world) would be
resolved into mbean dependencies which are already handled OK.
Are you having actual problems with the deployment order? If so what?
david
>
> -dain
>
> On Thursday, December 19, 2002, at 04:54 PM, David Jencks wrote:
>
> > This is from the ordering done in or near the main deployer, right?
> >
> > I think the idea is to deploy ejb-jars after .sars. It probably
> > doesn't
> > make much difference any more since you can make an ejb (container)
> > depend
> > on an mbean and vice versa. Is it causing problems?
> >
> > david jencks
> >
> >
> > On 2002.12.19 17:25:43 -0500 Dain Sundstrom wrote:
> >> Maybe I'm on crack, but why does it look like a sar file deployed
> >> before jar? Is this desired for some reason? Since a jar has no
> >> deployment time executable code isn't is safe to always deploy the jar
> >> first?
> >>
> >> -dain
> >>
> >>
> >>
> >> -------------------------------------------------------
> >> This SF.NET email is sponsored by: Geek Gift Procrastinating?
> >> Get the perfect geek gift now! Before the Holidays pass you by.
> >> T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
> >> _______________________________________________
> >> Jboss-development mailing list
> >> [EMAIL PROTECTED]
> >> https://lists.sourceforge.net/lists/listinfo/jboss-development
> >>
> >>
> >
> >
> > -------------------------------------------------------
> > This SF.NET email is sponsored by: Geek Gift Procrastinating?
> > Get the perfect geek gift now! Before the Holidays pass you by.
> > T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: Geek Gift Procrastinating?
> Get the perfect geek gift now! Before the Holidays pass you by.
> T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
>
>
-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now! Before the Holidays pass you by.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development