Category Archives: Architecture

JavaScript ClassLoader and Hotspot

If you are familiar with Java debugging, you must know there is a technology called “Hotspot“. One feature of Hotspot is to replace old classes bytecodes with a new ones that are generated by dynamic compilers. This feature helps developers … Continue reading

Posted in Architecture | Leave a comment

What is Java2Script’s SimpleRPC

By using Java2Script’s SimpleRPC, there are no needs to know RPC (Remote Procedure Call) and no needs to know Java Servlet or J2EE! Only knowing developing Java desktop application is enough for developers. Here is magic. Java2Script recommends writing applications … Continue reading

Posted in Architecture | 2 Comments

Clarify Goal of Java2Script

Java2Script is not providing a JavaScript library for AJAX developers. Java2Script is providing tools to convert Java desktop applications into web applications. By reading comments about Java2Script online, I found that someone treat Java2Script as a JavaScript library such as … Continue reading

Posted in Architecture | Leave a comment

ClassLoader Summary

Here is ClassLoader summary inside ClassLoader.js, for more information, please also read the ClassLoader source. ClassLoader creates SCRIPT elements and setup class path and onload callback to continue class loading. In the onload callbacks, ClazzLoader will try to calculate the … Continue reading

Posted in Architecture | 1 Comment

Java to JavaScript Compiler Discussion (2)

First, there are no clever ways for ClassLoader. Second, in my conception, there are another term “asynchronous programming” besides “synchronous programming”. Third, Java2Script compiler does perform very poorly at loading huge arsenal of SWT classes. In the implementation of Java2Script … Continue reading

Posted in Architecture | Leave a comment

Java to JavaScript Compiler Discussion (1)

Last year, I joined in a discussion about Java to JavaScript compiler in Google Web Toolkit (GWT) group. I think it is worthy to re-post my opinions here for a better understanding of Java2Script. Or later I may use the … Continue reading

Posted in Architecture | 3 Comments