Nuxeo-survey is a project mainly written in Java, it's free.
This addon provides survey creation and management in Nuxeo DM, with participation and visualization (of results) through WebEngine.
Nuxeo provides a modular, extensible Java-based open source software platform for enterprise content management and packaged applications for document management, digital asset management and case management. Designed by developers for developers, the Nuxeo platform offers a modern architecture, a powerful plug-in model and extensive packaging capabilities for building content applications.
More information on: http://www.nuxeo.com/