Scala 可以用于编写 GWT 应用程序吗? [英] Can Scala be used to write GWT applications?

查看:28
本文介绍了Scala 可以用于编写 GWT 应用程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Scala 可以用于编写 GWT 应用程序吗?

Can Scala be used to write GWT applications?

(注意:Java/Scala 新手...)

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

推荐答案

简而言之,GWT 可以调用使用 Scala 编写的程序.用 Scala 编写的最流行的 Web 框架是 Lift - http://liftweb.net/ 并且可以替代 GWT如果您想要纯 Scala 解决方案.

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 是一个使用 Java 编写的 Web 框架.客户端用 Java 语言编写并编译成 JavaScript,服务器端用 Java 编写,可以使用 Java JVM 中可用的任何资源.Scala 是一种编译成字节码的语言,这些字节码可以在 JVM 上执行,也可以与标准 Java 程序交互.

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.

这篇关于Scala 可以用于编写 GWT 应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆