You have to export your method:
var that = this; $wnd.miFunction = $entry(function() { that.@my.app.client.MyClass::miFunction()(); });
See http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html#calling (the example there is for a static
method, the one above for an instance method)