Jahia Dev Forum > How to integrate...

0 (0 Good)
0 (0 Bad)

How to integrate Jahia into existing web-app

by  hkrause »  2011/06/07 20:34

Hello there.

I'm searching for a cms which could be integrated in our current java web-application.

At the moment all the content is written directly into the JSP pages of our application. So content changes can be made only by developers.

What we would like to do, is putting the content into a cms, to make it possible for product managers and other non-technical guys to edit the content.

Then the application should access the cms to get the proper content blocks and integrate them into the JSPs before delivering them.

Could this be done with jahia? And if, how to do it, is there any API or something else?

Thanks for any response.

Bye,
Horst

  (hkrause)

Number of messages  3
Registration date
0 (0 Good)
0 (0 Bad)

Re: How to integrate Jahia into existing web-app

by  atazi »  2011/06/07 20:34

Hi Horst,

Please stop me if I am wrong but I understand that you want to manage the content of your existing web applications using a CMS.

In general the approach is done on the other way. In fact a WCM with embedded portal features such as Jahia allows the integration of web applications such as portlets.

Thus, the content could be managed and updated by non-technical editors through the user-friendly WCM features. The Web application boxes could be integrated within a page easily by users, just as they could integrate simple mashups or RSS feeds boxes.

Actually the goal of Jahia is to mask the complexity of business web applications for non-technical users who just want to update/view them.

Nevertheless, Jahia allows now Portlets objects sharing (http://www.jahia.org/cms/home/Jahiapedi ... g_Portlets). So one can imagine that content updated in Jahia or portlets can be reused/impacted by other portlets or Jahia.

Regards,
Amine
  • Re: How to integrate Jahia into existing web-app
    2011/06/07 20:34

    atazi Hi Horst,<br/><br/>Please stop me if I am wrong but I understand that you want to manage the content of your existing web applications using a CMS.<br/><br/>In general the approach is done on the other way. In fact a WCM with embedded portal features such as Jahia allows the integration of web applications such as portlets. <br/><br/>Thus, the content could be managed and updated by non-technical editors through the user-friendly WCM features. The Web application boxes could be integrated within a page easily by users, just as they could integrate simple mashups or RSS feeds boxes.<br/><br/>Actually the goal of Jahia is to mask the complexity of business web applications for non-technical users who just want to update/view them.<br/><br/>Nevertheless, Jahia allows now Portlets objects sharing (<!-- m --><a class="postlink" href="http://www.jahia.org/cms/home/Jahiapedia/Jahia_Portlets/Sharing_Portlets">http://www.jahia.org/cms/home/Jahiapedi ... g_Portlets</a><!-- m -->). So one can imagine that content updated in Jahia or portlets can be reused/impacted by other portlets or Jahia. <br/><br/>Regards,<br/>Amine

  • Number of messages  4
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: How to integrate Jahia into existing web-app

    by  hkrause »  2011/06/07 20:34

    Hi Amine.

    Your are right with your asumption. We would like to integrate the CMS into our application.

    The reason is, that we just have JSP pages, no portlets. Also the JSP pages contain the dynamic content and business logic AND the static (=text) content. The last we would like to put into the CMS, to get it edited by non-technical guys. I think it does not make sense to put the whole JSP with all the technical stuff into the CMS, because the devlopers cannot edit it in eclipse or something else any more and there is the danger of non-technical guys to change the technical code and so crash the whole application.

    I think it is no posibility to include the application into the CMS page (as a box as you said), because the application delivers the whole page (including dynamic and non-dynamic parts) not just a part of it. So there is nothing around the box, what the WCMS user could edit.

    I hope our situation has become clearer now and perhaps you can tell me, if there is any solution for this. Perhaps there is an API or TagLib for this use case?

    Bye,
    Horst

      (hkrause)

    Number of messages  3
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: How to integrate Jahia into existing web-app

    by  shuber »  2011/06/07 20:34

    Hello Horst,

    I know that a client has done something similar to what you are looking for by using a servlet filter to compose the data coming from Jahia and from his application. Basically the request would go to the app, and upon completion, it would do a request to a specific page in the CMS to retrieve the HTML for the content, and insert it using markers into the app's page.

    Another way of doing this could be to use AJAX aggregation on the client side, but it would require Javascript to build the page, which might be something you might want to avoid.

    The main thing for both solutions is that you will need to have some kind of mapping between the CMS pages and the application JSPs, and that would be up to your integration to define.

    Regards,
    Serge Huber.

    Serge Huber (shuber)

    Number of messages  271
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: How to integrate Jahia into existing web-app

    by  hkrause »  2011/06/07 20:34

    Hi Serge,

    your solution with the servlet filter and the markers (TAGs!) in den jsp pages sounds really good. I'll go and try this.

    Thanks a lot.

      (hkrause)

    Number of messages  3
    Registration date
    0 (0 Good)
    0 (0 Bad)

    How To integrate FormFactory into existing jsp

    by  venkat »  2015/06/03 07:35

    Hi Jahia Team,

        I am Facing issue like in form factory i designed some fields and stored one form ,what ever i designed form fields needs to include in  jsp.

     

    venkat
    Number of messages  2
    Not registered
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page