Category Archives: Java/JavaScript

GWT Example: A Class Viewer Project on Googlecode

A link to an example of GWT application: hucourse – a class viewer on googlecode.com.

Posted in AJAX and Webapp, All, Java/JavaScript, Mozilla Firefox and Thunderbird, Software | Leave a comment

GWT Development with NetBeans IDE – Setup and Run

I prefer Netbeans over Eclipse too. To develop for GWT, I used the following setup steps without installing gwt4nb plugin.

Posted in AJAX and Webapp, All, Java/JavaScript, Software | Tagged , , , , , | Leave a comment

GWT Client Development with NetBeans IDE – Simple Setup Example

GWT client development can be done simply with the original NetBeans IDE, without the special GWT4NB add-on. The add-on is more for development involving the server side. As a client-only GWT tool, it improves the development productivity greatly.

Posted in AJAX and Webapp, All, Java/JavaScript, Mozilla Firefox and Thunderbird, Software | Tagged , , , , , , , , | Leave a comment

GWT Ajax JSON JSONP Example that accesses third party web service

GWT AJAX connects to third-party JSON web service avoiding the restriction of the same-origin-policy: a terminology is called JSONP.

Posted in AJAX and Webapp, All, Java/JavaScript, Mozilla Firefox and Thunderbird, Software | Tagged , , , , , , , , | Leave a comment

JavaScript Removing DOM Node

To remove a DOM node, the code need to call removeChild(node) on the parent. And to use delete too. There is also a detailed explanation of how a “delete” work internally in JavaScript on perfectionskill.com.

Posted in AJAX and Webapp, All, Java/JavaScript, Mozilla Firefox and Thunderbird, Software | Tagged , , , , , , , | Leave a comment

Java Profiling Memory Leak

Tips: Invoke the JVM with the -verbose:gc or the -Xloggc option. Use JTune to graph the log. Invoke the JVM with the -Xrunhprof:heap=sites option to run the built-in hprof to find out the leaking/leaded objects classes. With jdk 1.6, use … Continue reading

Posted in All, Java/JavaScript | Tagged , , , , | Leave a comment