aspose file tools*
The moose likes JBoss/WildFly and the fly likes Can we upload seperate module wise .war file instead of whole .war file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Can we upload seperate module wise .war file instead of whole .war file?" Watch "Can we upload seperate module wise .war file instead of whole .war file?" New topic
Author

Can we upload seperate module wise .war file instead of whole .war file?

pallavi chaudhari
Ranch Hand

Joined: Jul 02, 2008
Posts: 54
Hello friends,

Can we upload seperate module wise .war file instead of whole .war file? Means If I do changes in only one module of my project I will upload that .war file on server instead whole .war file is it possible?

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10100
    
164

You can always deploy multiple .war files. But you'll have to decide how to interact (if that's required) between those individual web applications.


[My Blog] [JavaRanch Journal]
pallavi chaudhari
Ranch Hand

Joined: Jul 02, 2008
Posts: 54
Thanks Jai,

But these are not different web application its single web application.

And .war file size of my project is 83 MB.

So whenever client suggest changes,I have to upload whole 83 Mb again..its takes time?

is there any way to upload only changed files in Jboss?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10100
    
164

You can deploy your application in exploded format http://community.jboss.org/wiki/ExplodedDeployment and then just replace the files that you want to change. To redeploy the application, you can then just "touch" the web.xml file as explained here
pallavi chaudhari
Ranch Hand

Joined: Jul 02, 2008
Posts: 54
Thanks Jai,

But is it safe from data security point of view to upload using exploded deployment....?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10100
    
164

pallavi chaudhari wrote:

But is it safe from data security point of view to upload using exploded deployment....?


I'm not sure what kind of security issue you are talking about. Can you explain more? By the way, JBoss AS already ships some exploded deployments by default (look in the deploy folder).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can we upload seperate module wise .war file instead of whole .war file?