[jboss-dev-forums] [Design of POJO Server] - Deploying Ears and Wars through ProfileService

mark.spritzler do-not-reply at jboss.com
Thu Mar 6 17:34:56 EST 2008


We need a way to 

1) List deployed apps (ears/wars), 
2) Deploy apps (ears/wars), 
3) Undeploy apps(ears/wars), 
4) Get the availability status of the deployed app 

through the ProfileService.

For deploying apps, we need to pass a URL for the location of the ear or war.
We need to find out if the deployment or undeployment was successful or failed
And if it failed what was the reason for the failure.

Questions
1. What should be passed to the ProfileService so that it can deploy the archive?
2. Should this invocation be asynchronous, or make it the caller's responsibility to determine if they want it asynch or not?
3. If it is async, what lifecycle/callback mechanism should be created?
4. Should the status of the deploy/undeploy be a MetaType/MetaValue?

Thanks

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134698#4134698

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134698



More information about the jboss-dev-forums mailing list