在 IIS 中运行 Java Web 应用程序
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2256084/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Running a java web application in IIS
提问by benstpierre
Has anybody found a way to run a Java web application within IIS? It seems to me it should be entirely possible to write an ISAPI plugin (is that the right word?) that integrates Jetty or a custom servlet container with IIS. The benefit of this is that a lot of great high end Java applications like Jira require separate infrastructure for an otherwise all Microsoft shop.
有没有人找到在 IIS 中运行 Java Web 应用程序的方法?在我看来,编写一个将 Jetty 或自定义 servlet 容器与 IIS 集成的 ISAPI 插件(这是正确的词吗?)应该是完全可能的。这样做的好处是,很多像 Jira 这样出色的高端 Java 应用程序需要单独的基础架构,否则所有的 Microsoft 商店都是如此。
采纳答案by Gabriele Petrioli
I think you will find of use the following two articles
我想你会发现使用以下两篇文章
回答by Yaroslav
Running JVM inside IIS worker process currently is a bad idea. I suggest you to use solution from this article instead: Deploying Java Servlet applications on Windows with IIS
目前在 IIS 工作进程中运行 JVM 是一个坏主意。我建议您改用本文中的解决方案:使用 IIS 在 Windows 上部署 Java Servlet 应用程序
回答by doliharahap
AFAIK Java EE cannot be hosted in IIS. To host Java EE Application you need at least Servlet container or a full Java EE container which is not supported by IIS. Although, some plugin might be able to do so.
AFAIK Java EE 不能托管在 IIS 中。要托管 Java EE 应用程序,您至少需要 Servlet 容器或 IIS 不支持的完整 Java EE 容器。虽然,某些插件可能能够做到这一点。
As for your reference, below link is Java EE compatibility by oracle: http://www.oracle.com/technetwork/java/javaee/overview/compatibility-jsp-136984.html
至于您的参考,以下链接是oracle的Java EE兼容性:http: //www.oracle.com/technetwork/java/javaee/overview/compatibility-jsp-136984.html
回答by ITmeze
Microsoft has recently released (2015 Q1) HttpPlatformHandler module for IIS 8+ that lets you host java (or node/ruby applications etc), on IIS.
Microsoft 最近发布了(2015 年第一季度)用于 IIS 8+ 的 HttpPlatformHandler 模块,它允许您在 IIS 上托管 java(或节点/ruby 应用程序等)。