Using IBM BPM Lombardi only as a Process Managment System
What if Lombardi is not enough to fully cover our problems? For example, we must to provide rich user interface (based on gwt, vaadin, jsf and so on), or, in our processes uses very complex data which leads to poor performance.
In this case, we can create our enterprise application, and inside it, we can use Lombardi in the backend. But which Lombardi API should we use to achieve that purpose? Rest API, webApi?
A classic architecture of enterprise application consists of three major layers: presentation, business logic and integration (persistence). So, in business logic we should operate with Lombardi and do some other actions. So, what about two-phase transactions, security is this case?