<div dir="ltr"><div>Hello,</div><div>we have existing web application that is written using Spring MVC(Thymeleaf is used as view technology) </div><div>and we need to integrate parts of its view into opencms. For example page will have header, menu, footer that will </div><div>be created in OpenCMS in standard way and content of the page will be loaded from existing Thymeleaf page.</div><div>Also we need to use its existing backend(service layer that handles interaction with webservices and returns result to view layer).</div><div><br></div><div>Problem is that, existing application has many pages, therefore re-writing everything into OpenCMS modules as JSPs is out of question. </div><div>Second possibility that we considered is to integrate spring mvc into opencms as </div><div>is described here <a href="http://blog.shinetech.com/2013/04/09/integrating-springmvc-with-opencms/">http://blog.shinetech.com/2013/04/09/integrating-springmvc-with-opencms/</a> but I don't know </div><div>if with this solution is possible to have page which is partially rendered and handled by opencms and partially by spring </div><div>view layer(dispatcher servlet + controller class)...</div><div><br></div><div>Last idea that we had was to convert parts of the existing Spring MVC application into portlets that would simply </div><div>display there content as is described here <a href="http://www.slideshare.net/AlkaconOpenCms/open-cmsdays-2012-opencms-8-as-a-jsr286-compliant-portlet-server">http://www.slideshare.net/AlkaconOpenCms/open-cmsdays-2012-opencms-8-as-a-jsr286-compliant-portlet-server</a>. </div><div>But I have doubt that this would work for our case.</div><div><br></div><div>Has anybody some experience with this type of integration? Or is there some other possible way to </div><div>integrate existing Spring MVC application into OpenCMS? </div><div><br></div><div>Thank you for any suggestions.</div><div><br></div><div>With best regards,</div><div>Jakub Ječmínek</div></div>