2

I have been looking around to figure out how to configure Glassfish front ended with Apache. And most of the tutorials using the load balancing plug in is making me enable SSL on Apache. I am trying to understand the connection. I should be able to do non SSL communications when I dont have a need for SSL.

4

2 回答 2

1

有几篇博客文章展示了如何在 Glassfish 前使用 Apache。有多种选择,根据您的需要,不同的策略可能是最合适的。

我已经将 Apache 与 mod_jk 一起使用,它将请求转发到 Glassfish - https 和常规 http。这里有很多很好的参考资料。

也可以在 Apache 中使用其他模块,例如 mod_proxy,但同样,您的要求将充实最合适的。

Glassfish 内部也有相当不错的 http 引擎,您可以在其中配置虚拟主机,如在 apache 中。如果 Glassfish 服务器上的负载不是很大,您可以考虑只使用 Glassfish,而不需要任何东西。

于 2009-04-23T07:08:17.837 回答
0

您还可以使用Sun Java System Web Server SJSWS代替 Apache。尽管它的名字很糟糕,但它只是 Sun 的 Web 服务器(免费使用)。它可以用作反向代理 (PDF)。Sun 对 SJWS/Glassfish 组合进行了很好的测试。

于 2009-06-02T19:18:35.130 回答