Does anybody have an idea how to accomplish this?
Again for clarity: I have the Web Client running as a webapp in Tomcat (normally Alfresco installation). I added another Tomcat webapp (Tapestry) and want to use Alfresco. I see three options:
1. Use the Alfresco Java API directlty: For this, I'd have to access the "nodeService", "contentService", etc. beans of the Web Client webapp. I guess that would be all in order to be able to work with Alfresco, but I am not sure whether this approach does not lead to problems (transactions being shared between Web Client and my webapp?). Any Alfresco engineer can comment on this, please?
2. Something similar to FirstFoundationClient (in Alfresco SDK) does not work as this runs an embedded Alfresco version – but I am already running the Web Client. Again, am I right in saying that the FirstFoundationClient and the Web Client cannot run in parallel? (At least I could not get them to work together.)
3. Use the Web Services API: I am not sure whether this is so good with respect to performance and feature-richtness. If I understand correctly, the Web Services API runs through a wire (as it can be used remotely): is this a big overhead? Will it cache data? Also, the Alfresco Java API is not fully available, right?
4. Is there another option?
I just need a few "yes's"/"no's" to understand which way to go.
Kaspar