Eclipse代码更改工作说明(Eclipse code change working explanation)

如果您正在使用Eclipse并且您的开发服务器正在调试器中运行,那么当您将更改保存到此文件时,Eclipse会自动编译新代码,然后尝试将新代码插入到已在运行的服务器中。 对类,JSP,静态文件和appengine-web.xml的更改会立即反映在正在运行的服务器中,而无需重新启动

PLZ任何人都可以解释这个??????????

If you are using Eclipse and your development server is running in the debugger, when you save your changes to this file, Eclipse compiles the new code automatically, then attempts to insert the new code into the already-running server. Changes to classes, JSPs, static files and appengine-web.xml are reflected immediately in the running server without needing to restart

plz any one can explain this ??????????

最满意答案

对于像JSP文件这样的类:使用JPDA进行调试。

IDE通过套接字连接到正在运行的应用程序的JVM,并热重新部署非永久性代码(也称为PermGen)。

有不同的技术和框架:

http://en.wikipedia.org/wiki/Java_Platform_Debugger_Architecture

For classes like JSP-files: Its debugging using JPDA.

The IDE attach via socket to the JVM your running app and hot-redeploy the not-permanent-code (aka PermGen).

There are different techiques and frameworks for that:

http://en.wikipedia.org/wiki/Java_Platform_Debugger_Architecture

更多推荐