cancel
Showing results for 
Search instead for 
Did you mean: 

WCM and Foundation services API

romschn
Star Collaborator
Star Collaborator
Hello,

Are there any Alfresco java foundation services API available which will fetch me the content from WCM store?

Thanks,
5 REPLIES 5

mrogers
Star Contributor
Star Contributor
Yes lots.   NodeService, AVMService, AssetService to name three important ones.

romschn
Star Collaborator
Star Collaborator
Thank you for the answer Roger.

I will have to invoke them through webscript only. correct?

As I am using Alfresco mainly for creating and storing the contents through WCM and using other web application to display the content.

I want to do the preview functionality so I am planning to get the content using webscript and display on the application.

As my front end application is not spring aware so I can not use foundation services directly. Correct?

Thanks,

mrogers
Star Contributor
Star Contributor
You can use any of the remote APIs except CMIS.   However you are correct that you can't call the foundation API from your "front end application".

WebScripts are the obvious first choice although there are also WebServices, RMI, FTP, CIFS and probably a few more !

romschn
Star Collaborator
Star Collaborator
For preview, now i have selected the deploy to TEST server approach. In my whole architecture, I am using WCM on authoring and DM on delivery environment. DM repository is exposed to CMIS, hence, after deploying to TEST server DM, I can fetch the content using CMIS.

jenniferolsen
Champ in-the-making
Champ in-the-making
Alfresco's Java Foundation API is a set of services providing full access to the capabilities of the Alfresco repository. It is an in-process API meaning that the client must sit within the same process as the repository. For example, the Alfresco Explorer Web Client uses this API and is packaged together with the repository in a single .war file for deployment to an application server.