jQuery in Action, 3rd edition
The moose likes Servlets and the fly likes Doubts regarding servers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

Doubts regarding servers

Prashanth Vijayai

Joined: Jul 20, 2007
Posts: 17
im working in java for last 3 month i have come across two servers tomcat and jboss. My questions regarding the severs are ,
1. When we use jboss wht do we want to develop a war file?
2. what is the need for a war file ?
3. They say that jboss is a application server and tomcat is a web server ?
what is the differce between is ?
4. When do we go for jboss and tomcat ?
5. when we are using tomcat the procedure that we follow is diffrent from jboss?
i need some clarification in the above question?
Is there any books that could clear all my doubts in server?
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1599
A web server accepts only HTTP requests and renders the response.
An application server is responsible for processing the data that comes from HTTP requests. And not just that, it should provide facility for transactions and security as well.

Tomcat is a servlet container. COrrect me if I am wrong.
[ July 27, 2007: Message edited by: Akhilesh Trivedi ]

Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

prashanth prashanthv,

You've already asked some of these questions and received answers here:

If you don't understand the answers or want to ask followup questions, please do so in the same thread. Spreading a conversation over multiple threads causes confusion and duplication of effort which often annoys people enough that they don't want to answer any of your future questions.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Doubts regarding servers
It's not a secret anymore!