You can do the same thing with Java using Google Web Toolkit: http://www.gwtproject.org/overview.html
It lets you write both server & client code in java, and then the client code is compiled to highly optimized javascript.
It lets you write both server & client code in java, and then the client code is compiled to highly optimized javascript.
http://www.gwtproject.org/javadoc/latest/com/google/gwt/json...
To this day I still can't fathom why someone thought it'd be acceptable to violate conventions by providing is<Type>() methods that do not return boolean results.