Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Scala be used to write GWT applications?

Tags:

Can Scala be used to write GWT applications?

(NOTE: Java/Scala novice here...)

like image 532
jldupont Avatar asked Dec 23 '09 22:12

jldupont


People also ask

Which language do you use to program in GWT?

It is important to remember that the target language of your GWT application is ultimately JavaScript, so there are some differences between running your application in dev-mode, superdev-mode, and production mode.

Does Google use GWT?

Google announced GWT at the JavaOne conference in 2006. In August 2010, Google acquired Instantiations, a company known for focusing on Eclipse Java developer tools, including GWT Designer, which is now bundled with Google Plugin for Eclipse.

What is GWT compiler?

The heart of GWT is a compiler that converts Java source into JavaScript, transforming your working Java application into an equivalent JavaScript application. The GWT compiler supports the vast majority of the Java language. The GWT runtime library emulates a relevant subset of the Java runtime library.

Is GWT a framework?

Google Web Toolkit (GWT) is an open source Java software development framework that makes writing AJAX applications easy. With GWT, you can develop and debug AJAX applications in the Java language using the Java development tools of your choice.


2 Answers

As already said... BUT to be exactly not yet! This project should enable GWT to support client-side Scala code. Also the project is backed up by Google engineers.

like image 142
Alex Avatar answered Sep 22 '22 08:09

Alex


Short answer is GWT can call into a program written using Scala. The most popular web framework written in Scala is Lift - http://liftweb.net/ and would be an alternative to GWT if you wanted a pure Scala solution.

GWT is a web framework written using Java. The client side is written in the Java Language and compiles into JavaScript and the server side is written in Java and can use any resources available in the Java JVM. Scala is a language that compiles into bytecodes that are executable on the JVM and can interact with standard Java programs as well.

like image 25
Ryan K Avatar answered Sep 22 '22 08:09

Ryan K