Technical details of service modules without publishing to Eclipse WTP and Tomcat?

The Eclipse Web Tool Platform (WTP) allows you to configure Tomcat to "Server Modules Without Publishing":

Web content will be transferred directly from the WebContent folder to the Dynamic Web Project. User context is used to make project dependencies available in the web application class loader.

In a five-step process (just a joke, you choose # steps), what happens technically and where are the files that Eclipse generates? I noticed that Eclipse generated the file org.eclipse.jst.server.tomcat.runtime.70.loader.jarin the Tomcat lib directory.

+5
source share
1 answer

, - JAR, WEB-INF/lib WAR.

:

  • .
  • webapp webapp .

Servlet 3.0 - JAR META-INF/resources, .

Tomcat 7.0 VirtualWebappLoader VirtualDirContext - .

- Eclipse, WTP Tomcat, $WORKSPACE/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/conf/server.xml

- WTP Tomcat , WtpDirContext WtpWebappLoader, , . ( , , Tomcat. TLD - , Tomcat.) org.eclipse.jst.server.tomcat.runtime.70.loader.jar, .

- META-INF/resources .

+13

All Articles