News for hackers. Stuff that matters.
Re:What is wrong with GWT. by tcarnell on Tuesday October 11, 2011 @09:56AM (#3098541)
Actually, I think your last sentance exactly highlights my point (I dont know how to do that italicy/quote thing).

Whether you choose to write your code in Java or Javascript doesn't matter because it will HAVE to be run in a Javasript environment (browser) so you will always be limited to the target language - Java allows you to connect to databases with JDBC, read/write files and create rich user interfaces - none of these language features can be used by javascript in a browser.

So solving a problem that is more appropriate for Java can never be a problem that needs to be solved inside a browser by javascript...

Re:What is wrong with GWT. by icebraining on Tuesday October 11, 2011 @10:48AM (#3098766)
You are mixing up the languages with the platforms.

Java doesn't let you connect to databases or any of that - the JVM does, and for any language running on it (Scala, Clojure, etc).

Java the language just gives you a certain set of syntax and semantics which can be useful to model a problem and its solution - classes, interfaces, etc.

Even if you're limited by the API of the platform - the browser - that has nothing to do with whether a different language is useful or not for your particular problem.

Re:What is wrong with GWT. by demallien on Tuesday October 11, 2011 @10:27AM (#3098674)
(I dont know how to do that italicy/quote thing).

Enclose the quoted phrase in asterixes...

Re:What is wrong with GWT. by tcarnell on Tuesday October 11, 2011 @11:05AM (#3098839)
thanks!