Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
pallavi chaudhari
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
pallavi chaudhari
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jai,

But is it safe from data security point of view to upload using exploded deployment....?
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic