Opinions about 2 Web Services opctions
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2009 11:41 AM
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!!!
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!!!
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2009 11:57 AM
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.
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2009 03:23 AM
Thanks for the comments Roger!!!
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!!!!
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!!!!
