Alfresco - API Access From Another JVM?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-26-2005 06:34 AM
I had a glance of the Alfresco APIs. Except WebServices, other API methods allowed by Alfresco don't seem to allow access from another JVM instance. Is this true?
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2006 11:41 AM
It's also possible to use the JCR API via RMI using a library such as JCR-RMI found in Apache Jackrabbit.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2006 11:34 AM
What are our options for calling Alfresco from another JVM? Is JCR-RMI found in Apache Jackrabbit the only option? I'm not sure that WS will be viable (but perhaps I'm wrong). Our current platform is JDK 1.4, and at this point we cannot upgrade to JDK 1.5. So we have to run Alfresco in a different JVM.
As far as Web Services are concerned, is there an API that lets us pass a handle to the content (e.g., a file name or a URL) instead of a byte array?
Thank you.
As far as Web Services are concerned, is there an API that lets us pass a handle to the content (e.g., a file name or a URL) instead of a byte array?
Thank you.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2006 12:13 PM
What are our options for calling Alfresco from another JVM? Is JCR-RMI found in Apache Jackrabbit the only option? I'm not sure that WS will be viable (but perhaps I'm wrong). Our current platform is JDK 1.4, and at this point we cannot upgrade to JDK 1.5. So we have to run Alfresco in a different JVM.You might still want to give WS a try, this is not such a hard integration. If you want to code in Java, the JCR-RMI seems the only choice.
As far as Web Services are concerned, is there an API that lets us pass a handle to the content (e.g., a file name or a URL) instead of a byte array?
Take a look in the Alfresco SDK in the Web Services samples project. Actually, once you have created a session ticket using the AuthenticationUtils class, you can append it as a parameter to the download URL of any content stored in Alfresco and retrieve an InputStream directly from the URL connection.
