• Post Reply Bookmark Topic Watch Topic
  • New Topic

Regarding Servers

 
Prashanth Vijayai
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have been working in servlets and JSP since one month ... im bit confused with the servers like jboss,tomcat..... For example
how to deploy a WAR file ?
why to deploy a WAR file?
When we go for tomcat server
why are we copying the project folder into webapps ?
and many more CAN SOME ONE TELL ME HOW DO I GET CLEAR IN THESE THINGS ?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by prashanth prashanthv:
CAN SOME ONE TELL ME HOW DO I GET CLEAR IN THESE THINGS ?

prashanth prashanthv,
Typing in all caps is the equivalent to yelling in a web forum and is considered rude.

Tomcat is a servlet/JSP container that is also very capable of hosting static files. If you don't need the full JEE stack (EJB, etc..) it is all you need to host an application.

If you need a container that supports the full JEE stack, then you would want to look at JBoss, Geronimo, or one of the commercial app servers.

Both JBoss and Geronimo, use Tomcat as their Servlet/JSP container.

A web archive (war file) is an entire web application bundled into a single file. It's nothing more than a jar file with a very specific directory structure. Bundling your app this way makes it very easy to keep specific versions of your files together. For my own site, http://simple.souther.us, they provide a very easy way for beginners to download and deploy a pre-written and pre-configured application in 3 to 5 mouse clicks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!