JVM-based two languages in the Java environment: Scala,groovy

Source: Internet
Author: User
Tags fast web ruby on rails

JVM-based two languages in the Java environment: Scala,groovy

The two languages can be mixed in a Java project;

Scala: Static language, multi-paradigm language, combines object-oriented, process-oriented, and can interoperate with Java and NET, integrating a wide range of language features, including similar net-like closures, lambda expressions, it is more language features, language complexity is also high ~ ~

Groovy: Dynamic language, both as an object-oriented language and as a scripting language; The advantage of having a dynamic language; simple syntax ~ ~

Scala, groovy is the alternative language for Java, based on jdk1.6 can be used like jdk1.8 advanced syntax features, learning cost groovy easier to get started;

Scala's popular web framework: The play framework, similar to Ror (Ruby on Rails), a fast web development framework with its own HTTP server, JPA tools, integrated Netty support for asynchronous IO, no Serlvet API ; is a full-stack Web application framework that can be deployed independently of any container;

Groovy's popular web framework: Grails, similar to Ror (Ruby on Rails), a fast web development framework, built on open source frameworks such as spring and Hibernate, is a high-productivity one-stop framework.

Gradle: A maven-like build tool that automates the conversion of MAVEN scripts, using Maven's common libraries, and is very flexible, based on the groovy language, as a next-generation build tool instead of MAVEN;

JVM-based two languages in the Java environment: Scala,groovy

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.