Content Services (ECM)
Process Services (BPM)
Application Development Framework
Digital Business Platform
Announcements & Opportunities
Alfresco Ambassador Program
Alfresco Content Services (ECM)
to create and rate content, and to follow, bookmark, and share content with other members. Not a member?
portlet alfresco (jsr 168)
Question asked by
on Apr 19, 2012
on Apr 19, 2012 by openpj
Show 0 Likes
How can i develop a portlet alfresco (jsr 168)? There is any tutorial.
No one else has this question
Mark as assumed answered
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Apr 19, 2012 3:08 PM
If Alfresco is running in the same application server of the portal, you could try to implement your portlets with WebScriptPortlet class.
In this way you only need to implement Alfresco WebScripts and then you only need to declare the webscript as a portlet in the portlet.xml of the alfresco.war. More information here:
Otherwise you can implement your own portlet using one of the APIs exposed by Alfresco:
The CMIS protocol allows you to implement your client application that can be considered usable with any CMIS-compliant repository.
The Apache reference implementation of this protocol is the Apache Chemistry project. You can download the OpenCMIS client library, then import it in your classpath and then start to invoke remote calls against the repository following the examples:
If you need some specific features of Alfresco then you have to point on WebScripts that is the extensible RESTful API of Alfresco (HTTP + XML/JSON), here some samples about how to extend the REST API of Alfresco:
Extending the Alfresco API means that you can embed more operations in an unique HTTP transactional request. If you try to use the out-of-the-box methods you can see that for some custom operation you need to execute more than one HTTP request.
The last possibility is to use the SOAP API, Alfresco provides you a precompiled Java stub client (alfresco-web-service-client.jar) that you can import in your Java classpath and you can start to invoke remote calls to the repository.
Hope this helps.
Show 0 Likes
Retrieving data ...
ADF 101 - Getting Started with Alfresco Application Development Framework
Object Storage Connectors
How to assign user task to a user/group?
CIFS / SMB - Version ?