I am looking to implement a workflow engine using the State pattern but I cannot find a good example of this.
Does anyone know of a good resource that shows building a workflow engine that utilizes the State Pattern? Preferably in Java
One related open source project is Activiti.
I doubt that the state pattern actually is the dominating part of such a project. Persistency, web presentation, integration to other systems, user administration and other components are probably equally of even more important.