Hi everyone:
I've deployed Alfresco 2.0 and Liferay 4.2.1 (both in the same Tomcat instance), and I expect to show a list of stored documents in a portlet, so I need to access the Alfresco repository from Liferay.
I tried to retrieve the spring context bean manually (as it's explained in the Wiki's example), but it seems that Liferay cannot access Alfresco's context this way. So I need a different manner to connect both apps.
Now I consider te following ones (to tell the truth, I'm not sure if any of them is incorrect):
1º Try to put Alfresco's context as a cross-context (it can be checked in server.xml I think), and retrieve it from within the portlet next.
2º Access the repository via Alfresco JCR-RMI.
The point is that as I can see, in both solutions I have to perform some changes in the previous Alfresco / Liferay installation; and that's a little mess cause I had to make those changes in near 50 pcs.
So, does anybody know if there's any other way of accessing the repository, in which I only have to work within the portlet that I have to create? If not, which of the previous solutions do you recommend me?
Thanks in Advance:
JoaquÃÂn