Category Archives: JavaScript

Cappuccino and Objective-J

Today, I came up with 280 Slides, a web presentation design editor. I was shocked by its pretty looking Mac-like UI at the first glance. From an interview to 280 Sliders developer, I learned to know that Cappuccino is the … Continue reading

Posted in AJAX, JavaScript | Tagged , | Leave a comment

Java and JavaScript

Today, I came up with the idea of “Orto: Java in JavaScript“. Well, it is not “Java to JavaScript”, it is “Java in JavaScript”. It is said that java.lang.Thread is supported. But as there is no downloads available, and it … Continue reading

Posted in Java, JavaScript | Tagged , , , | 1 Comment

Java2Script Gtalk on Opera Mini 4

It’s amazing to see that Java2Script’s Google Talk get run on Opera Mini 4 inside a mobile phone. Here is Opera Mini 4′s simulator for you to test its CSS/JavaScript/AJAX compatibilities: http://www.operamini.com/beta/simulator/ Here are screenshots: Zoom in to get a … Continue reading

Posted in JavaScript, Opera Mini, Screenshot, Sharing | 1 Comment

Java2Script 1.0.0 Final Release

Here comes Java2Script 1.0.0 final release! Please visit http://j2s.sourceforge.net/ for more information. Feature List ========== Java2Script Core —————- 1. Object oriented JavaScript simulator is introduced 2. JavaScript ClassLoader is built inside 3. Eclipse JDT based Java to JavaScript compiler, support … Continue reading

Posted in AJAX, Java, Java2Script News, JavaScript, RPC, SWT, Simple RPC | 2 Comments

Compressed JavaScript on Apache HTTPD Server

As Java2Script’s library size is getting huger and huger, loading *.js is a critical job for Java2Script. And I decide to output compressed *.js to save loading bandwidth. In httpd.conf or .htaccess file, add the following: <IfModule mod_deflate.c> # Netscape … Continue reading

Posted in Apache, JavaScript | Leave a comment

Reload:A Link An Application

Copy following as a link and paste in your browser address bar (A new tab or a new window, or other existed tab page[Maybe a Google search result page, not this blog page]): javascript:if(a="$wt.examples.controlexample.ControlExample@http://demo.java2script.org/org.eclipse.swt.examples/bin/",window["ClazzLoader"]!=null)$w$(a);else{var d=document,t="onreadystatechange",x=d.createElement("SCRIPT"),f=function(){var s=this.readyState;if(s==null||s=="loaded"||s=="complete"){$w$(a);}};x.src="http://archive.java2script.org/1.0.0-v20061220/j2slib.z.js";(typeof x[t]=="undefined")?x.onload=f:x[t]=f;d.getElementsByTagName("HEAD")[0].appendChild(x);void(0);} According to your … Continue reading

Posted in A Link An Application, AJAX, ALAA, JavaScript, SWT, Sharing | Leave a comment

Extending Java2Script Compiler

Now, the java 2 javascript compiler of the java2script can be extended. There is a tutorial for demonstrating the extension mechanism. This extension mechanism can be used to override default behavior of java2script compiler. So, why do we need to … Continue reading

Posted in AJAX, Java2Script News, JavaScript | Leave a comment

Java-JavaScript Compiler Discussion

Ash mentioned Java2Script in the thread of “Java-JavaScript Compiler” in GWT’s group forum. And I joined in the discussion. I was not intended to post another GWT v.s. JavaScript post there (But it seems it was a v.s. thing actually). … Continue reading

Posted in Java, JavaScript, Sharing | Leave a comment

LZ77 JavaScript Compressor Reloaded

Updated: June 4, 2007, LZ77 JavaScript Compressor http://demo.java2script.org/lz77js/ is rebuilt using Java2Script Simple RPC technology. In early of this year, I had a post “LZ77-JS-Compressor: Another way of compressing JavaScript“. It seemed that lots of people were seeking pure LZ77 … Continue reading

Posted in AJAX, JavaScript, Sharing | 3 Comments

Java2Script 1.0.0 Roadmap

Road to Java2Script 1.0.0 release: 1.0.0 M3 will be released at Aug 20, 2006. In this release, main features include Full support of Eclipse 3.2.0 beside Eclipse 3.1.* No more need of extra JDT core jar enhancement Dynamic JavaScript loading … Continue reading

Posted in Java, Java2Script News, JavaScript, Sharing | Leave a comment