Every time that I asked about how can I integrate my app to Alfresco, the answers are webscripts and the WIKI Page, but I think it very complicated. Can I use just Java to integrate?How can I make calls from my app to Alfresco directly?Someone could give examples with codes?The examples I think very superficial. I didn't understand how can I access Alfresco from my app. I'm using struts 2.
@Perter, Yeah since now I know for sure that there is nothing out there. I will try do develop a JSF tag to embedded the HTTP call to a webscript and share it with everyone of course.
This has be discussed in detail on this post, but thought I mention a simple light weight integration we've used in the past.
Simply, create your web script and output as XML. Use JSTL to call the web script the XML using the web script URL and passing any required variables. Simple search can be done this way, with the results stored in the session. XSLT can be used to easily sort and display the results.
Alternatively simple JSP include can be used to include the outputs of HTML webscripts.