Home

Integrating alfresco with our web application

You are here

6 posts / 0 new
Last post
Integrating alfresco with our web application

Hi

We have a web application which us developed in java(spring) . I want to integrate alfresco with our application so that i can save and retrieve the documents of different users.

How to achieve this. Im new to alfresco.
Any help is appreciated
Thanks in Adv

Re: Integrating alfresco with our web application

You should download the OpenCMIS library from Apache Chemistry and use CMIS from your application to create, retrieve, update, and delete documents in the Alfresco repository.

A new book on Apache Chemistry and CMIS is coming out from Manning soon, so keep your eye out for that.

Jeff

Hire my team for your next project! Metaversant
Blog: ecmarchitect.com | Twitter: jeffpotts01
CMIS APIs: Apache Chemistry | CMIS and Apache Chemistry in Action
Alfresco tutorials: Alfresco Developer Series

Re: Integrating alfresco with our web application

Hi

I went through OpenCmis but tht is not what i want.
I want the full functionality of DMS and i want to integrate that with our web application.i.e, without logging in to alfresco and do some customization to change the UI as per my requirements
Should i be integrating Alfresco Share or Alfresco Explorer.
And how it is to be done.

Plz give me the full steps of what needs to be done

Re: Integrating alfresco with our web application

If you want to embed Alfresco in your application, i.e., run the Alfresco repository in the same process as your application, then you will use the Java Foundation API. You can look at the First Foundation Client example in the Alfresco SDK.

If you want to customize the Alfresco Explorer client, you can, but be aware that it isn't really being actively developed. If you customize Alfresco Explorer you'll be using JSF and the Foundation Client.

If you want to customize Alfresco Share, you can do that. Alfresco Share uses the Surf Framework, which is a Spring Extension. Surf is a multi-tier MVC framework that uses server-side JavaScript in the controller (or Java) and FreeMarker in the view. A good source for examples of Share customizations is the Share Extras project on Google Code.

Other resources include the official documentation, Alfresco Wiki and Alfresco Blogs.

Finally, depending on your timeframe, you might be interested in the Alfresco API which we will be launching soon. It includes CMIS plus RESTful API calls for the Alfresco functionality that CMIS doesn't cover. Keep an eye out for more information about this.

Jeff

Hire my team for your next project! Metaversant
Blog: ecmarchitect.com | Twitter: jeffpotts01
CMIS APIs: Apache Chemistry | CMIS and Apache Chemistry in Action
Alfresco tutorials: Alfresco Developer Series

Re: Integrating alfresco with our web application

Hi

Thanks for the reply.

Can u give me an example where alfresco is embedded in web app.

And point me to some documents related to embedding alfresco to web app.

Integrating with websphere commerce web application

I was doing the integration with one of the e-commerce site “websphere commerce” using Alfresco Alfresco Community 4.2 on tomcat
Created the contents (image files, pdf ) using http://<host>:port/share and shared the contents. I got the RSS feed URL for my content but when I try to invoke the feed from web application web feed utility , got unauthorized error for the alfresco rss feed. Details error I have copied below.
“An error occurred during data loader execution: An error occurred in the HTTP Connector. The error is : The HTTP head request to the resource returned a response with status code, 401, and reason line, Unauthorized”
RSS feed link is : http://localhost:8080/share/feedservice/components/documentlibrary/feed/...
When I try to test same URL with web browser, system was asking username and password. After entering the details its works from browser.
Same way I have tried to using in my web application by passing user and pw but I am getting same unauthorized error.
http://localhost:8080/share/feedservice/components/documentlibrary/feed/...

one more issue :
I was not able to publish the content, when I try to do that I am getting “There is no appropriate publish channel”, create channel with available option Facebook still I was getting same error
Please help me to resolve these issues.

Thanks,
Arjun

Thanks,
Arjun