cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Share-Database Connectivity from JAVASCRIPT to JAVA

nove-2011
Champ in-the-making
Champ in-the-making
Hi Alfresco Team and ALL,
I am very new person to ALFRESCO SHARE development. I know that Alfresco Share uses JAVASCRIPT file to call webscript and inturn calls the JAVA Class for database connectivity through its DIFFERENT SERVICES such as [size=85]NODE [/size]service,[size=85]PERSON [/size]service,[size=85]WORKFLOW [/size]Service etc.

I know how to call JAVA Class/Method from JAVA SCRIPT files,How Alfresco Connects to its JAVA CLASSES from YUI based JAVA SCRIPT files ?

please guide me.

Thanks and Regards,
Nove
1 REPLY 1

mikeh
Star Contributor
Star Contributor
Those services are exposed via JSON REST APIs, using web scripts (java or JavaScript backed).

We then use Ajax requests on the client to call those.

I suggest you look at our code and try to trace how those requests are being made and follow the same patterns yourself.

Thanks,
Mike