[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deploy ZIP vs. EAR

jaikiran do-not-reply at jboss.com
Mon Apr 28 09:05:12 EDT 2008


Hmmm.... Indeed the zip is deployed. I tried this on my local setup which some changes to my original zip file which was failing. Deploys on my setup too (as long as the zip file has valid deployables in it). 

So coming back to your questions

anonymous wrote : is there anything to think about when I deploy a ZIP file instead of an EAR file ?
  | Deploying the components one by one works, so I pack them all in a ZIP file which will be deployed.
  | So, is there any problem / risk doing this ? 
  | 

This is the first time i have deployed a zip file, so not sure what possible things you should keep in mind. However, a couple of things do come in mind with deploying a zip. 

1) When you are deploying an EAR, you  specify the order of deployment of through the application.xml file. Now when you are using a zip file, which cannot contain the application.xml (atleast for me it threw an deployment error when i had an application.xml in META-INF folder of the zip), i dont know what order is considered for deployment

2) The application.xml is also used for specifying the context of a war file within the EAR. Now when deploying through a zip file, i dont know where this can be specified. 

There are a few more things that i can think about but probably not relevant right now. I have to maybe play around with the zip deployment to get answers to these. In the meantime maybe someone who already has experience on this, will be able to guide you further.






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

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



More information about the jboss-user mailing list