Hi All, Activiti has a Restlet based comprehensive REST API to expose all BPMN related functions. As we are planning to have a REST API for BPMN, we can integrate this Activiti REST module in Carbon. Could I get feedback on the following items regarding this integration:
Restlet vs JAX-RS: Should we integrate the Restlet based Activiti API or should we write a new JAX-RS based REST module? I think it is better to use the Activiti REST module as it allows us to migrate easily with new Activiti versions. Integrating the Activiti Restlet based API: If we decide to integrate the Activiti REST module, we have to expose the Restlet servlet to handle REST requests. One option is to register this servlet in repository/conf/tomcat/web.xml, which exposes this on the same port as admin services. However, we have to keep these servlet registration entries in the web.xml, even though the BPMN component is not deployed. Another option is to start a separate server (if this is possible in Carbon) for Activiti REST and register the Restlet servlet in that server. Thoughts... Regards, Chathura
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
