I was given the task of deploying a Java EJB application in Windows Server 2012 with IIS 8.
The application was previously deployed to Glassfish 4 on Jelastic. After checking the requirements, I decided that Apache TomEE Plus version 7.1 would be a fit replacement. TomEE is essentially a Java Enterprise Edition version of Tomcat.
The problem is I can't figure out what is the canonical way to serve such an application with IIS.
The options I came across are these:
- the ISAPI redirector (2) (3) (aka "jakarta"), part of Tomcat
- the HttpPlatformHandler (2), by Microsoft
- the Web Farm Framework (linked instructions are for Glassfish, but can be applied to Tomcat)
- Application Request Routing
- a third party IIS to Tomcat Connector.
Which of these would be recommended for a production server?
I already tried the ISAPI redirector (related question: How to serve a TomEE application via domain name without directory name with IIS?) and also the HttpPlatformHandler, which simply didn't work - all requests take forever to complete.