J2S Java to JavaScript compiler

The most important component is the java to javascript code translator. This is an eclipse plugin, based on eclipse java develpment tools (JDT / http://www.eclipse.org/jdt/), that will compile your eclipse java project to javascript.


1. Object oriented JavaScript simulator is introduced
2. JavaScript ClassLoader is built inside
3. Eclipse JDT based Java to JavaScript compiler, support Java
1.4 and Java 5 features, including generic, enums, static imports,
enhanced loops
4. Support incremental building for Java projects
5. Support Hotspot JavaScript swapping for debugging
6. Support most classes in java.lang.*, java.utils.* and others
packages
7. Support native JavaScript through @j2s* Javadoc in Java sources and java anotations

      

TODO: do this better. Ideas: * talk about compiler supported java versions, * in section chap-java-to-js-translation will talk about code tranlation *

Compiler configuration

TODO: how the compiler can be configure with the .j2s project's file