Jahia in English > servlet integration....

0 (0 Good)
0 (0 Bad)

servlet integration. dspace

by  ogduartev »  2011/06/07 18:34

this is a newbie question...

Jahia supports portlet integration... does it also support servlet integration?

I want to integrate dspace (www.dspace.org), a digital library management system that uses tomcat/postgres and java servlets. Is it possible?

thanks in advance for your answers...
  • servlet integration. dspace
    2011/06/07 18:34

    ogduartev this is a newbie question... <br/><br/>Jahia supports portlet integration... does it also support servlet integration?<br/><br/>I want to integrate dspace (<!-- w --><a class="postlink" href="http://www.dspace.org">www.dspace.org</a><!-- w -->), a digital library management system that uses tomcat/postgres and java servlets. Is it possible?<br/><br/>thanks in advance for your answers...

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

    Re: servlet integration. dspace

    by  ktlili »  2011/06/07 18:34

    Hi,

    If it's a low level integration (displaying only the output of the servlet) you can deploy your servlet in the same tomcat as Jahia and add a simple iframe that targets your webapp into your jahia page.

    If it's a high level integration (jahia and your web must communicate) you can integrate a servlet into Jahia by converting it into a portlet. The level of difficulty depends on the how the servlet is implemented. If the servlet has been done with a framework like struts or JSF, there are some bridges that can help you. If not, mainly you have to change all servlet classes into portlet and add portlet.xml file.

    Mainly, all what you can do with a servlet can be done with a portlet. The 2 specifications are really similar, with same concepts (response/request paradigm , session managment, jsp, .... ). The main difference is that a portlet generates a fragment of HTML whereas a servlet generates the full page.

    Regards.
    KT.
  • Re: servlet integration. dspace
    2011/06/07 18:34

    ktlili Hi,<br/><br/>If it's a low level integration (displaying only the output of the servlet) you can deploy your servlet in the same tomcat as Jahia and add a simple iframe that targets your webapp into your jahia page.<br/><br/>If it's a high level integration (jahia and your web must communicate) you can integrate a servlet into Jahia by converting it into a portlet. The level of difficulty depends on the how the servlet is implemented. If the servlet has been done with a framework like struts or JSF, there are some bridges that can help you. If not, mainly you have to change all servlet classes into portlet and add portlet.xml file.<br/><br/>Mainly, all what you can do with a servlet can be done with a portlet. The 2 specifications are really similar, with same concepts (response/request paradigm , session managment, jsp, .... ). The main difference is that a portlet generates a fragment of HTML whereas a servlet generates the full page.<br/><br/>Regards.<br/>KT.

  • Number of messages  14
    Registration date Jun 7, 2011
    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