Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2007

Tip: Looking for answers? Try searching our database.

about  war

Thread view: 
mail2.scorpio@gmail.com - 29 Aug 2007 14:32 GMT
what is the purpose of war.why we need to use war when deploying.how
many ways we can deploy an application.
Lew - 29 Aug 2007 15:07 GMT
> what is the purpose of war.why we need to use war when deploying.how
> many ways we can deploy an application.

In the spirit of helping you get better use of Usenet, may I suggest that you
follow standard typographic conventions of placing an interrogatory mark, '?',
at the end of a question, and using two spaces after each sentence to help the
reader distinguish them?

As to your questions, a WAR file is a special type of JAR file.  The word is
an abbreviation for "Web ARchive".  It contains all the elements of a web
application in a standard layout so that a web container like Tomcat or many
others can successfully deploy the application.

You don't actually need to use a WAR to deploy an application, but it makes
the job much, much easier.

For the ways to deploy an application, the best source is the application
container's documentation.  For example, Tomcat has two ways - deep-copy a
directory into its webapps/ subdirectory or copy a WAR file into its webapps/
subdirectory.

A really rudimentary Google search like
<http://www.google.com/search?q=Java+WAR+file>
will turn up several helpful links, such as
<http://mindprod.com/jgloss/warfile.html>
<http://access1.sun.com/techarticles/simple.WAR.html>

Also, you really should start with the standard introductory materials, such
as the Sun JEE tutorial:
<http://java.sun.com/javaee/5/docs/tutorial/doc/WebApp.html#wp76431>
or the Tomcat documentation:
<http://tomcat.apache.org/tomcat-6.0-doc/appdev/index.html>

Signature

Lew

Lew - 29 Aug 2007 15:10 GMT
> For the ways to deploy an application, the best source is the
> application container's documentation.  For example, Tomcat has two ways
> - deep-copy a directory into its webapps/ subdirectory or copy a WAR
> file into its webapps/ subdirectory.

or use the Tomcat "manager" application.

Signature

Lew
"... a ruthless efficiency - uh, our THREE chief weapons are
surprise, fear, a ruthless efficiency, an almost fanatical devotion ... "

RedGrittyBrick - 29 Aug 2007 15:26 GMT
> what is the purpose of war.

Multiple choice:
* To remind citizens why the government should employ diplomats.
* To secure supplies of oil for the SUVs of citizens.
* To secure supplies of gold for your head of government.

> why we need to use war when deploying.

* Because other nations object to us deploying [tanks etc].

> how many ways we can deploy an application.

17, but you changed the subject just when I was getting warmed up.

P.S.
I'm all in favour of capitalising abbreviations in order to avoid confusion.

P.P.S.
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/WebComponents3.html
http://countrystudies.us/indonesia/11.htm

P.P.P.S
http://www.google.co.uk/search?q=GIYF


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.