1
1
123qwe2015-12-21 13:10:00
Java
123qwe, 2015-12-21 13:10:00

Tomcat is the server on which the server is deployed?

What's up, software.
Tomcat is needed so that our web application can be deployed there, as I understand it.
But I don't quite understand why.
That is, the server is the side of our web application, we deploy it on some other Server.
Usually, I just want the side server of my applications on my PC without any tomcato's.
Explain, please)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
aol-nnov, 2015-12-21
@aol-nnov

> Usually, I just want a side server of my applications on my PC without any tomcato's.
especially if you have it on pohape.
Tomcat is a servlet container. At least take a look at the wiki .

F
FiFaGeFa, 2015-12-21
@FiFaGeFa

If your web application is developed using Java EE technologies, or rather, if the application is implemented in the form of so-called servlets, then you need Tomcat or its equivalent, for example Jetty. Or JBoss. And so on.
These are all application servers, they take care of class loading, access control, etc.
If your web application is developed as standardlone, then it starts itself, without an application server.

M
MrBe, 2015-12-22
@MrBe

Tomcat for Java = Apache for PHP
The diagram shows how we send a request to tomcat, it passes it to the desired web application that we wrote, and our application processes it. Then we send the response to tomcat, which is already the client.
This is the simplest explanation I could come up with. There may be inaccuracies, because. I recently started learning java
Tomcat%204.png?version=7&modificationDat

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question