开发者

Integration of Java application with OpenCms

I wan开发者_如何学Got to know how to integrate a Java web application with OpenCms contents. Is it possible to integrate a Java application with OpenCms?


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:

  • http://www.opencms-wiki.org/wiki/Integration_HOWTOs

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


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.


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/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜