Java 应用程序与 OpenCms 的集成

发布于 2024-09-09 09:56:53 字数 71 浏览 1 评论 0原文

我想知道如何将 Java Web 应用程序与 OpenCms 内容集成。是否可以将 Java 应用程序与 OpenCms 集成?

I want to know how to integrate a Java web application with OpenCms contents. Is it possible to integrate a Java application with OpenCms?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

桃扇骨 2024-09-16 09:56:53

是的,这是可能的。例如,您可以将 SpringMVC 或 Struts 集成到 OpenCms 中,或者将其他工具集成到 JForum(一个开源 Java 论坛,它也支持单点登录 (SSO))中。

您可以在这里找到信息&一个小样本 OpenCms+Spring 集成项目:

由于 OpenCms 是开源的并且基于 Java EE 标准,因此您非常自由。

Yes, it's possible. For example you can integrate SpringMVC or Struts into OpenCms, or other tools like JForum, an open source java forum, which also supports single-sign-on (SSO).

You can find information here & a small sample OpenCms+Spring integration project:

Since OpenCms is open source and based on Java EE standards, you are pretty free.

寄居者 2024-09-16 09:56:53

我成功完成的是创建一个 jstl 标签库,将 OpenCms 中的 JSP 连接到业务后端。

就我而言,它是通过 SOAP Web 服务完成的。

这样做的另一个优点是我可以在 Eclipse 中测试和开发我的代码,而不依赖于 OpenCms。

部署到生产环境意味着将 jar 文件部署到 OpenCms web 应用程序。

还有一个优点:由于我们将一些视图逻辑放入 OpenCms 托管的 JSP 中,因此它们由 OpenCms 进行版本控制。

What I have done successfully is to create a jstl tag library to connect JSPs in OpenCms to a business backend.

In my case it was done through a SOAP web-service.

Another advantage of this was that I could test and develop my code in Eclipse, without a dependency on OpenCms.

Deploying to production would then mean to deploy a jar file to the OpenCms webapp.

Yet another advantage: Since we put some of the view-logic into the OpenCms-hosted JSPs, they were versioned by OpenCms.

人事已非 2024-09-16 09:56:53

我们已将 SprigMVC 集成到现有的 OpenCMS 安装中。以下是我们如何进行此操作的描述:http:// /blog.shinetech.com/2013/04/09/integrating-springmvc-with-opencms/

We have integrated SprigMVC into an existing OpenCMS installation. Here is a description of how we went about that: http://blog.shinetech.com/2013/04/09/integrating-springmvc-with-opencms/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文