Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java to JavaScript Compiler [closed]

Besides GWT out there, are there other Java to JavaScript Compiler. Currently all my work is done in Java and I heard of Java2Script too. Anyone out there knows other Java to JavaScript?

like image 261
JCX Avatar asked Jul 29 '10 07:07

JCX


People also ask

Can you convert Java to JavaScript?

Designed, developed, and open-sourced by Google, J2CL is a source-to-source compiler that converts Java to Javascript. J2CL developers say the compiler "enables seamless use of Java in your JavaScript applications."

What is closure in compiler?

What is the Closure Compiler? The Closure Compiler is a tool for making JavaScript download and run faster. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left.

Is there any compiler required for JavaScript?

In contrast, JavaScript has no compilation step. Instead, an interpreter in the browser reads over the JavaScript code, interprets each line, and runs it. More modern browsers use a technology known as Just-In-Time (JIT) compilation, which compiles JavaScript to executable bytecode just as it is about to run.


2 Answers

I believe qooxdoo has a java-javascript compiler. Since they have a similar framework call QWT Its similar to GWT but with their own widget set.

like image 76
naikus Avatar answered Sep 22 '22 16:09

naikus


Nice list of ..->JavaScript compilers with special chapter dedicated to Java is available here: https://github.com/jashkenas/coffee-script/wiki/List-of-languages-that-compile-to-JS#javajvm

like image 35
xmojmr Avatar answered Sep 23 '22 16:09

xmojmr