Eclipse war export: optimize for a specific server runtime

☆樱花仙子☆ 提交于 2019-12-06 21:57:05

问题


In eclipse, when exporting a web project to war/ear file there is this option

"Optimize for a specific server runtime"

What does happen under the hood when this option is selected? Couldn't find an explanation about that so far.

I am running Eclipse Indigo 3.7.


回答1:


Eclipse itself doesn't do anything with that option. What happens is dependent on a particular server adapter. Many of the adapters don't do anything with this option either, but they might in the future.

If a server adapter does support export optimization, it has the option of displaying custom options beneath that pop-up list of runtimes, so that's a good cue to use to see if something will actually happen.

For instance, when targeting WebLogic Server, you will see this:




回答2:


maybe pre-compiles JSPs - this is the first typical thing to do=) ?



来源:https://stackoverflow.com/questions/11759784/eclipse-war-export-optimize-for-a-specific-server-runtime

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!