| Author |
How to make application into .war
|
arun krishnamurthy
Greenhorn
Joined: Aug 30, 2006
Posts: 6
|
|
I hava question how to make an application into .war. Will you please help me in this issue.
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24057
|
|
This forum is for questions about Java application performance: speed, memory usage, etc. I'll move your question to "Java in General (Intermediate)" for you. Why are you rolling around on the floor, laughing? This question didn't seem funny to me at all.
|
[Jess in Action][AskingGoodQuestions]
|
 |
Rahul Bhattacharjee
Ranch Hand
Joined: Nov 29, 2005
Posts: 2300
|
|
jar -cvf name.war . from the dir where the app starts.
|
Rahul Bhattacharjee
LinkedIn - Blog
|
 |
Srinivas Kalvala
Ranch Hand
Joined: Oct 20, 2005
Posts: 257
|
|
.WAR file is a specific directory structure in which the application files are distributed so that the runtime environment will pick up the files on demand. The runtime environment nothing but container or you can call application server. The .WAR file follows, MAIN FOLDER --- Source, STATIC CONTENT WEB-INF/ classes/, lib/, web.xml Place all your source files in SOURCE directory, then CD MAIN FOLDER JAVAC -D .\WEB-INF\CLASSES *.JAVA CD .. JAR -CVF APP.WAR MAIN FOLDER/ Now the APP.WAR is ready to deploy on any application web container. the web.xml is compulsory your the WEB-INF file
|
 |
Srinivas Kalvala
Ranch Hand
Joined: Oct 20, 2005
Posts: 257
|
|
Originally posted by Srinivas Kalvala: [QB].WAR file is a specific directory structure in which the application files are distributed so that the runtime environment will pick up the files on demand. The runtime environment nothing but container or you can call application server. The .WAR file follows, MAIN FOLDER --- Source, STATIC CONTENT WEB-INF/ classes/, lib/, web.xml Place all your source files in SOURCE directory, then CD MAIN FOLDER JAVAC -D .\WEB-INF\CLASSES SOURCE\*.JAVA CD .. JAR -CVF APP.WAR MAIN FOLDER/ Now the APP.WAR is ready to deploy on any application web container.  the web.xml is compulsory
|
 |
 |
|
|
subject: How to make application into .war
|
|
|