how i m make a our rest service to get data from activiti database .
i m deploy the workflow and start the process according to given rest-api in user-guide chepter-15.and get data from that but konw my requriment is make own service for own project which behave like activiti-rest .
so any one help me how to write service to access activiti database ..