I was trying to google some of the internal workflow entity information and I started to realize that Java itself provides a way of implementing workflows and that there are several third party workflow activity engines.
That is to say a way to work on the workflows at a slightly lower level where the XML of the workflow is edited directly.
The reason I ask is that I am looking for a way to manage not only the workflows but different reusable bits of the workflows like common SQL queries and custom bits of code for building java objects.
If there is a third party engine in use then it becomes much easier to manager these elements.
Thanks.
Chris.