You could use GWT and write the whole thing, client and server, in Java. No duplication of the data model, your calls back to the server are just regular method calls (albeit asynchronous) and you get to use Hibernate or some other ORM layer for database access. Or whatever takes your fancy really - there are so many libraries and frameworks available for Java.
On the client side, GWT takes care of the most of the cross-platform nasties for you, plus you can dip into JavaScript if you need to.
Finally, having compiled your code into JavaScript, you find GWT has also optimised and compressed it within an inch of its life.
by Adrian Ross — Aug 02
On the client side, GWT takes care of the most of the cross-platform nasties for you, plus you can dip into JavaScript if you need to.
Finally, having compiled your code into JavaScript, you find GWT has also optimised and compressed it within an inch of its life.
You'd need Java hosting though.