Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to create war file

 
swathi valasala
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
im the new one i dont know how to run weblogic i want to how to create war file and what we deploy in that war file and why we want to create war file
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To create one:

CD into the root directory of your web app (the one that contains the WEB-INF directory)
Type:

This will create a war file in the current directory.


Why create them?
Because they are a very easy, clean, and dependable way to ship and deploy an entire web application as a single file.

If you have a running version of Tomcat on your machine (5x or higher), you can see how easy it is to install war files by going to my site and following the directions for any of the demo apps there. It takes between 3 to 5 clicks to install each of them.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic