GWTOsm is a project mainly written in Java, it's free.
porting of josm code to gwt
please read online http://wiki.github.com/h4ck3rm1k3/GWTOsm/