且构网

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

轻量级servlet引擎,用于通过IIS提供java应用程序

更新时间:2023-10-28 14:08:22

查看 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.