且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

用于通过 IIS 为 Java 应用程序提供服务的轻量级 servlet 引擎

更新时间:2023-10-28 14:12:46

看看 Jetty.它可以从标准的 Main 调用中调用,并且可以很好地处理 servlet 容器(例如,GWT 调试托管在 Jetty 环境中).

Have a look at Jetty. It can be invoked from a standard Main invocation, and handles servlet containers pretty well (GWT debugging is hosted in a Jetty environment, for example).

我用它来调试 Lift 应用程序,并给我留下了深刻的印象.

I've used this for debugging Lift applications, and been pretty impressed.

要通过 IIS 将请求转发到 Jetty,您可以尝试 mod_jk.问题是 IIS 和 Java/JSP 不能正常工作,因为 IIS 需要附加组件来支持 VM 的加载和 JSP/Java 内容的反映.有一篇关于如何做到这一点的优秀文章 这里.

To forward requests through IIS to Jetty you can try mod_jk. The problem is that IIS and Java/JSP don't Just Work because IIS needs add-ons to support the loading of the VM and the reflection of JSP/Java content. There is an excellent article on how this can be done here.