The dependencies should be specified at the deployment unit level
as when you create a service you know what dependencies you
have. This does not mean that the unit deployer has to handle the
dependencies. I don't want to have to edit a dependencies.xml in
a deploy directory and then drop my service jar into the deploy directory.
The deployment unit should be a self describing unit.


----- Original Message -----
From: "David Maplesden" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 6:45 PM
Subject: RE: [JBoss-dev] Thoughts on deployers


> OK, I agree with most of what you propose... with one big difference.  I
now
> feel (after already playing with service deployer) that dependencies have
no
> real place in the individual deployers, they just complicate the code for
> each of them (or for the proposed universal deployer).
>
> At the end of the day the only thing which needs to know about ANY
> dependencies is the AutoDeployer, the individual deployers should just be
> able to concentrate on deploying the application they are asked to, when
> they are asked to.  The AutoDeployer can keep track of dependencies
> (including recursive ones if you want) across all types of files and
deploy
> and undeploy the right files at that right times.
>
> I think this is much cleaner and will be much easier for people to use,
and
> the dependency stuff won't interfere when users manually deploy/undeploy
> things via JMX.
>
> So the consequences of this are...
>
> 1- classpaths go back to being classpaths instead of recursive dependency
> lists.
>
> 2- no dependency stuff in *-service.xml files
>
> 3- hence no need for *-service.xml files in jars, ears or rars
>
> 4- individual deployers have no need to deploy any other files, they just
do
> their normal jobs.
>
> 5- autodeployer keeps track of dependencies, asks individual deployers to
> deploy and undeploy when
> neccessary.
>
> 6- autodeployer reads the dependencies for the files in given watched
> directory from a dependencies.xml file in that directory, no file = no
> dependencies.
>
> What do you think?
>
> David M



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

Reply via email to