Norway publishes source code for electronic election management system
translate.google.com
translate.google.com
I haven't spent much time looking at the code, but it's definitely quite neat and well written, with separation of concerns and test coverage.
Frontend seems to be using JSF which is built into Java EE.