cancel
Showing results for 
Search instead for 
Did you mean: 

Reg: Alfresco Connector

praveen83
Champ in-the-making
Champ in-the-making
Hi folks,

Can any one please guide me regarding how do we design alfresco connectors in java.


Regards
Praveen. Smiley Very Happy
3 REPLIES 3

zaizi
Champ in-the-making
Champ in-the-making
What's a "connector"?

Ainga

praveen83
Champ in-the-making
Champ in-the-making
Hi Ainga,

First of all thanks for giving reply to my question.

Regarding Connector let me explain clearly about the alfresco usage in my application.

     Actually we are trying to use alfresco as a middle ware regarding storage and retrieving as of now we able to store the documents using FTP service available in the alfresco (programatically) and regarding retrieving we have pass the content of the alfresco(http://localhost:8080/alfresco/webdav  which requires authentication ) in our application so that it can be indexed for retrieving of the documents.
              My Question is id their any possibility of connecting and retrieving the alfresco repository by pragramatically. Regarding this issue I was trying to use Alfresco JCR(Simple Example which is available in alfresco SDK 2.9 ) but its giving me the following error

Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'blog-post' defined in class path resource [alfresco/blog-context.xml]: Could not resolve parent bean definition 'action-executer'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'action-executer' is defined
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'action-executer' is defined
Please help me regarding this issue i.e retrieving the content programatically.

Thanks & regards

Praveen

zaizi
Champ in-the-making
Champ in-the-making
There are lots of options;

See http://wiki.alfresco.com/wiki/Is_JCR-RMI_Right_for_Me%3F for examples of some of the remoting options. The one this doesn't mention and is the best (in my opinion) is Web Scripts: http://wiki.alfresco.com/wiki/Web_Scripts. Because Share uses web scripts, most if not all the things you are likely to do is already available in web scripts.

Download the Alfresco source and have a read through. Also search the forums. This has been discussed a number of times before.