-->

Eclipse war export: optimize for a specific server

2020-08-17 17:53发布

问题:

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=) ?



标签: java eclipse war