About Eclipse Server View

Asked 2 years ago, Updated 2 years ago, 51 views

I am studying web development at Java. In the Server view of Eclipse, there is no server available.However, if you press the cat mark in the upper left corner of the Eclipse screen, Tomcat can start normally, and it seems that the source created by entering the URL in the IE address bar is running well.
So I have a question. Is there any problem if I don't define a server in the server view?

java eclipse

2022-09-30 15:04

2 Answers

There may be no problem with the current situation, but I think it is important to understand why there is no problem, so I will write about it.

Eclipse can be enhanced with a technology called OSGi.Eclipse refers to the parts that you want to extend as plug-ins.

There are two main plug-ins that allow you to work with Tomcat.

  • A suite of tools designed to help develop the Web as a project for the Eclipse Foundation.
  • Enables you to start/stop Tomcat, deploy/undeploy Eclipse projects, etc. from above Eclipse.

Although the Server Tools included in WTP have features that conflict with Tomcat plugin, I understand that there is little difference in what Tomcat can do.

Server view is a function of WTP, and Kazu's "cat mark" is probably a button on the toolbar that Tomcat plugin adds.In other words, I think I'm only using Tomcat plugin now.If there is no problem with the operation, the current situation should be fine.

However, in my personal opinion, I think it would be better to use WTP's Server tools.There are two reasons.

If you work in web development in Java, you will have the opportunity to use an AP server other than Tomcat.I don't know if I will use Eclipse in that case, but I think it's not a loss to get used to it so that I don't panic.

"By the way, it seems that they are using the expression ""server view"" and Tomcat plugin even though they don't know it, so maybe they are using Pleiades All in One, which includes Eclipse's Japanese version + several plugins."
Pleiades has long included Tomcat plugin, but is no longer included in the current version of Pleiades All in One 4.6.0.v20160622

.


2022-09-30 15:04

No problem.
I always use that structure.
For the image, "Define server" has tomcat started inside the plug-in.
The tomcat button starts tomcat from the plug-in.
This is the image.It's just an image, but lol


2022-09-30 15:04

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.