Jahia Dev Forum > Other Applications...

0 (0 Good)
0 (0 Bad)

Other Applications with Jahia?

by  ashleyaitken »  2012/04/14 11:33

 


 
Howdy All,
 
This is my first post after reading a lot about Jahia and downloading and installing to test it out - it looks very impressive!  My partner and I are embarking on a startup (outside our regular work) and we appreciate the community version of Jahia very much.  
 
We are keen to use a CMS like Jahia for the Web content (obviously) and all the modules that go with a modern Web site (news, blogs, forum etc.)  However, our startup is going to have at least two other Java applications that are not just content focussed.
 
One we would think will be a GWT application and the other a Java Wicket application, both interacting with other databases as well as, hopefully, using content from Jahia. Is it possible (and sensible) to integrate these applications into Jahia as modules/apps? 
 
Is there a clean Jahia API for use of content managed by Jahia from another Java application, or is the REST API the only thing available?  Ideally, I would like read and write access to the Jahia content tree (higher than JCR?) from these applications)?
 
It would be nice to have them integrated but I am not sure if Wicket and GWT can be integrated with Jahia.  Alternatively, of course they could be separate applications, but then we have concerns about single sign-on. I see SSO is Jahia Enterprise only :-(
 
Alternatively, are there any other solutions to SSO, perhaps roll our own?  We are keen to purchase Jahia Enterprise when we get funding but until then we have to proceed on open source and our development abilities (i.e. it's a lean startup ;-).  
 
Any suggestions or help would be most appreciated.
 
Cheers,
Ashley.
 
  • Other Applications with Jahia?
    2012/04/14 11:34

    ashleyaitken <p> &nbsp;</p> <br /> <div> <div style="font-family: Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); "> <div> &nbsp;</div> <div> Howdy All,</div> <div> &nbsp;</div> <div> This is my first post after reading a lot about Jahia and downloading and installing to test it out - it looks very impressive! &nbsp;My partner and I are embarking on a startup (outside our regular work) and we appreciate the community version of Jahia very much. &nbsp;</div> <div> &nbsp;</div> <div> We are keen to use a CMS like Jahia for the Web content (obviously) and all the modules that go with a modern Web site (news, blogs, forum etc.) &nbsp;However, our startup is going to have at least two other Java applications&nbsp;that are not just content focussed.</div> <div> &nbsp;</div> <div> One we would think will be a GWT application and the other a Java Wicket application, both interacting with other databases as well as, hopefully, using content from Jahia.&nbsp;Is it possible&nbsp;(and sensible) to integrate these applications into Jahia as modules/apps?&nbsp;</div> <div> &nbsp;</div> <div> Is there a clean Jahia API for use of content managed by Jahia from another Java application, or is the REST API the only thing available? &nbsp;Ideally, I would like read and write access to the Jahia content tree (higher than JCR?)&nbsp;from these applications)?</div> <div> &nbsp;</div> <div> It&nbsp;would be nice to have them integrated but I am not sure if Wicket and GWT can be integrated with Jahia. &nbsp;Alternatively, of course they could be separate applications, but then we have concerns about single sign-on. I see SSO is Jahia Enterprise only :-(</div> <div> &nbsp;</div> <div> Alternatively, are there any other solutions to SSO, perhaps roll our own? &nbsp;We are keen to purchase Jahia Enterprise when we get funding but until then we have to proceed on open source and our development abilities (i.e. it&#39;s a lean startup ;-). &nbsp;</div> <div> &nbsp;</div> <div> Any suggestions or help would be most appreciated.</div> <div> &nbsp;</div> <div> Cheers,</div> <div> Ashley.</div> <div> &nbsp;</div> </div> </div>

  • Number of messages  6
    Registration date Apr 14, 2012
    0 (0 Good)
    0 (0 Bad)

    Re: Other Applications with Jahia?

    by  shuber »  2012/04/26 18:18

    Hello, Thank you for your interest in Jahia, I'm sure you can do everything your were describing with Jahia. There main Java API for Jahia is the JCR API, we expose all the objects, including multi-language nodes through this standard. Of course you can also use the REST API to interact remotely with Jahia content, for example from AJAX browser components. Concerning GWT we know it quite well as the whole edit mode and studio UI are developed using this technology. We don't use Apache Wicket but it shouldn't be too difficult to integrate. As for SSO, if you plan to develop Jahia modules, you will get the authentication from Jahia. For more powerful SSO you would need of course the enterprise edition. I suggest you start small by developing a small module and go from there. You can find guides and documentation in our documentation section. Best regards, Serge Huber.

    Serge Huber (shuber)

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

    Re: Re: Other Applications with Jahia?

    by  ashleyaitken »  2012/04/30 02:38

    Hello Serge, thank you very much for your reply to my post.  Having the JCR and REST APIs should be fine (although I note that Magnolia provides a slightly higher and "tuned" API for developers).  I am planning to do as you suggest, and look forward to learning more about Jahia.  

  • Re: Re: Other Applications with Jahia?
    2012/04/30 02:38

    ashleyaitken <p> Hello Serge, thank you very much for your reply to my post. &nbsp;Having the JCR and REST APIs should be fine (although I note that Magnolia provides a slightly higher and &quot;tuned&quot; API for developers). &nbsp;I am planning to do as you suggest, and look forward to learning more about Jahia. &nbsp;</p>

  • Number of messages  6
    Registration date Apr 30, 2012
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Re: Other Applications with Jahia?

    by  shuber »  2012/04/30 07:04

    Hello,

    Actually we have done things a bit differently. We use the JCR API but we've subclassed some of the classes to add some functionality such as the possibility to directly handle file uploads easily, etc... We call these JCR "wrapper" objects, and you can see them here : http://www.jahia.com/downloads/jahia/jahia6.6.0/jahia-root-6.6.0.0-aggregate-javadoc/ . The most important one is the JCRNodeWrapper, that is a subclass of the JCR Node interface.

    Also, we have made these objects compatible with real "bean" methods, making it very easy to use them in JSTL expression language statements. For example you can write thing like this : 

    ${currentNode.properties['jcr:title'].string} and it will work despite the fact that the JCR Node implementation does not provide that.

    Best regards,

      Serge Huber.

    Serge Huber (shuber)

    Number of messages  271
    Registration date
    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