Category Archives: Hacks

Hacks used in building up Java2Script

Performance Matters or Not

Joel Spolsky had a post “Strategy Letter VI“. And I did agree with him to some degree when reading the post. And I decided to write a post about these opinions related to Java2Script later in the evening. And later … Continue reading

Posted in Architecture, GWT, Hacks, JavaScript, SWT | 3 Comments

Asynchrony is Everything

You may know “Position is Everything” already. And I believe you should also know “Asynchony is Everything” or “Everything is Asynchronous” in RIA development. Asynchrony is not only very important in web application development but also vital in normal desktop … Continue reading

Posted in Architecture, Hacks | Leave a comment

QoS of JavaScript

You must be aware of QoS when you are writing Rich Internet Application (RIA), especially when you are using AJAX. Why? And what aspects should be considered in QoS of RIA? Here are some points: 1. Loading JavaScript file *.js … Continue reading

Posted in Architecture, Hacks, JavaScript | Leave a comment

Compressing and Deploying JavaScript

For AJAX, deploying JavaScript files may be important for you or not. If you are professional in AJAX, you must know the details of JavaScript deployment. First, you can compress your JavaScript files before deploying them. Common compressors may cut … Continue reading

Posted in Architecture, Hacks, JavaScript | 1 Comment

Packing in Java2Script

Usually, when you develop new features, you split functions into pieces and implement them one by one. And in Java development, there will be implemented by one *.java file and another. If you want to deploy the finished feature, you … Continue reading

Posted in Architecture, Hacks | 2 Comments

Asynchronous Programming

In my early Java2Script development days, I think a lot about asynchronous programming. AJAX was hot and is still hot. What is most important factor in AJAX technologies? I think it is “Asynchronous”. Without asynchronous programming, visitors still need to … Continue reading

Posted in Architecture, Hacks | Leave a comment

JDT Compiling and Java2Script Compiling

One feature that I like Java2Script is its full integration with Eclipse JDT’s incremental building. Java2Script reuses Eclipse JDT to compile *.java into *.js. As Eclipse JDT supports incremental building, so Java2Script also supports this feature. The magic is that … Continue reading

Posted in Hacks | Leave a comment

IE Hack: JavaScript Memory Leaks

The following is an article that I posted about one and a half years ago. I just repost it here as this is a hack to build up Java2Script Pacemaker. —————————————————- Yes, I knew there was JavaScript memory leak in … Continue reading

Posted in Hacks | Leave a comment