geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Mulder <>
Subject Re: Who's in charge of deploying EARs?
Date Tue, 06 Jan 2004 14:02:20 GMT
	I believe Jeremy is in the midst of some significant changes to 
the deployment process.  Perhaps he can comment, but I'm guessing this 
isn't the best time to work on new deployment features.

	The ApplicationDeployer is the JSR-88 server side.  All the 
unimplemented methods are basically there to support JSR-88 client calls 
that we have to support.  The implemented methods actually set up 
deployment operations, and are used for everything that's deployed 
(services, apps, etc.).

	The main shortcoming as far as JSR-88 goes is currently that
JSR-88 uses a distribute-then-start lifecycle, whereas the current
planners roll everything into a single "deploy" step.  Jeremy, do you also
have thoughts on whether the revisions will make it easier to explicitly
split out the "distribute" step?  My sense is that it will, because we'll
be handling the ClassSpace in a better way and so on, so that we'll be
able to do more work during "distribution" and we can simply flick a 
switch for the "start".


On Tue, 6 Jan 2004, Jacek Laskowski wrote:
> Hi,
> Unless I'm mistaken, there're 4 planners: Service, Jetty, Connector and 
> EJBModule. Their names are selfexplanatory as to what they can plan to 
> deploy. The missing piece is a EAR deployer. Once a scanner (FSS or WDS) 
> finds a META-INF/MANIFEST.MF it adds the resource which contains the 
> manifest to a list of resources to be deployed. As none of the planners 
> are willing to take over planning of EAR deployment (as they're looking 
> for other files in META-INF as indication of its correctness), the only 
> way to deploy that EAR is to remove its META-INF directory.
> I've been thinking about how to achieve EAR deployment and what the 
> planner could do. The main thing the planner must do would be to plan to 
> create a class-space for the EAR and then ask other planners for 
> deployment of the rest and tell them what classspace it should belong 
> to. I think other EJBs/WARs/RARs that are not part of EAR should belong 
> to DEFAULT EAR. It would then become a reserved name, so no DEFAULT.ear 
> may get deployed.
> I think I'm ready to tackle the issue and prepare something in the 
> coming days. Before I do it, though, I'd like to find out if it's 
> already being worked out. Also, your comments/recomendation are highly 
> appreciated as while I'm reading the message I don't see any problems to 
>   sort it out very easily (I know, the devil is in details).
> BTW: What is org.apache.geronimo.kernel.deployment.ApplicationDeployer 
> for? Would it be of help somehow?
> We could also talk it over on IRC tonight.
> Jacek

View raw message