Take a look at our Sandbox app of the SDKgen project which provides a simple editor to design a specification and generate Java code. It provides also several other integration options.