cancel
Showing results for 
Search instead for 
Did you mean: 

Opinions about 2 Web Services opctions

yahiko
Champ in-the-making
Champ in-the-making
Hello

We are planning to integrate Alfresco with one of our apps. The way to do the integration is using the Alfresco Web Services API. Currently we our discusing which of this alternatives is better:

A- Current app adding a Java class to do the work using the WebServices. The distribution being: current app + Java class in local PCs and a server with the Alfresco installation.
B- Current app adding a Java class just to call a personalized WebServices which use the Alfresco WebServices to do the work. So: current app + Java class in one machine, our Java Web Services in one server and the posibility of Alfresco in other server.

Personaly, i think the A option seems the better, but as nobody here has experience working with Alfresco, i ask if there are points working with Alfresco that makes B option a better option.

Thanks in advance!!!
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
It rather depends upon the intent of your "personalised" web services.    

If it is an "adapter" to allow you to switch between different repository implementations then it may be worthwhile.   On the other hand there will be a performance penalty for doing multiple web services calls.   And you will have more code to develop and maintain.

Or it may be that the alfresco provided web services are not exactly what you need in which case and you need your own.    In which case there's a third option which is to add your own web services into alfresco and not have a translation layer.

Another option to consider is to use Web Scripts rather than Web Services.

yahiko
Champ in-the-making
Champ in-the-making
Thanks for the comments Roger!!!

Or it may be that the alfresco provided web services are not exactly what you need in which case and you need your own. In which case there's a third option which is to add your own web services into alfresco and not have a translation layer.

We have to look this option closer… our needs are, i think, quite basics (upload documents, search and get documents). But the option to add our web services into alfresco sounds quit good!!!

Agains, thanks!!!!
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.