These software are integrated with tomcat. In the production environment, tomcat exists separately on the server and is operated through shell commands.
The default port number is 8080. Generally, when we develop and test, we enter http://localhost:8080/project name?parameter name=parameter value in the browser address bar to access the project.
Of course, tomcat is a server, and myeclipse is an IDE, used to write java projects. You need to format the project into a jar package or war package and run it under tomcat.
Problem analysis: Raising this question shows that the questioner has a unclear understanding of the concepts of tomcat and myeclipse. In response to this, the correct answer is not of course yes...or yes, etc. The key is to clarify the conceptual relationship.
Answer:
tomcat is the same as web服务器,同样概念的还有weblogic(常用于java),apache(常用于php)、iis (commonly used in .net), they are both running environments for web programs.
myeclipse is 集成开发环境(ide),同样概念的还有intellJ idea,visual studio,php stormetc. The meaning of integration is that in addition to allowing you to edit code conveniently, it also integrates a variety of other tools, such as maven plug-ins, git version management, tomcat and other web servers, allowing you to develop and debug It is more convenient to get up.
When you click the debug or run button in myeclipse, myeclipse actually just runs the startup.bat (startup.sh under Linux) command of tomcat (or other web server), so the web program must be in the web server to run, and the web server is independent (especially independent from the IDE).
Another
If tomcat must run under myeclipse, then all servers running tomcat must have myeclipse installed?
Tell me the simplest example. Do you think eclipse must be installed on every server?
This must be possible.
These software are integrated with tomcat. In the production environment, tomcat exists separately on the server and is operated through shell commands.
myeclipse is just an IDE.
The default port number is 8080. Generally, when we develop and test, we enter http://localhost:8080/project name?parameter name=parameter value in the browser address bar to access the project.
Yes. It is recommended to use maven or gradle to avoid too many problems.
Of course.
Of course, you can package the project into war format and run it in the webapps directory of tomcat
Of course, tomcat is a server, and myeclipse is an IDE, used to write java projects. You need to format the project into a jar package or war package and run it under tomcat.
Problem analysis:
Raising this question shows that the questioner has a unclear understanding of the concepts of tomcat and myeclipse. In response to this, the correct answer is not of course yes...or yes, etc. The key is to clarify the conceptual relationship.
Answer:
tomcat is the same as
web服务器
,同样概念的还有weblogic
(常用于java),apache
(常用于php)、iis
(commonly used in .net), they are both running environments for web programs.myeclipse is
集成开发环境(ide)
,同样概念的还有intellJ idea
,visual studio
,php storm
etc. The meaning of integration is that in addition to allowing you to edit code conveniently, it also integrates a variety of other tools, such as maven plug-ins, git version management, tomcat and other web servers, allowing you to develop and debug It is more convenient to get up.When you click the debug or run button in myeclipse, myeclipse actually just runs the startup.bat (startup.sh under Linux) command of tomcat (or other web server), so the web program must be in the web server to run, and the web server is independent (especially independent from the IDE).
Another
If tomcat must run under myeclipse, then all servers running tomcat must have myeclipse installed?
tomcat directory structure
tomcat deploys java project