23

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.

benstpierre
  • 32,833
  • 51
  • 177
  • 288
  • closely related to [Lightweight servlet engine for serving java application via IIS](http://stackoverflow.com/q/1344289/) – outis Jul 14 '12 at 21:33

4 Answers4

23

I think you will find of use the following two articles

  1. Use Microsoft's Internet Information Server as a Java servlet engine
  2. Java + ISAPI + Jetty = JSP on IIS
Gabriele Petrioli
  • 191,379
  • 34
  • 261
  • 317
11

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

Yaroslav
  • 1,241
  • 10
  • 13
8

Microsoft has recently released (2015 Q1) HttpPlatformHandler module for IIS 8+ that lets you host java (or node/ruby applications etc), on IIS.

http://azure.microsoft.com/blog/2015/02/04/announcing-the-release-of-the-httpplatformhandler-module-for-iis-8/

ITmeze
  • 1,902
  • 2
  • 21
  • 32
1

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.

As for your reference, below link is Java EE compatibility by oracle: http://www.oracle.com/technetwork/java/javaee/overview/compatibility-jsp-136984.html

Arjan Tijms
  • 37,782
  • 12
  • 108
  • 140
doliharahap
  • 100
  • 2
  • 6
  • 4
    IIS can be used as a front end reverse proxy for any other web servers including Java EE application servers. Thus, while "is not supported by IIS" is true, it is still possible to run a Java web app behind IIS. – Lex Li Jan 21 '14 at 05:22