Category Archives: Java

Implementing Gmail-alike Web Mail Client by Java2Script

WeMail, this to-be-implemented Gmail-alike web mail client, is based on technologies of Java, SWT, JavaMail and Java2Script. Before going into designing and implementing details, here are some background information. Java2Script (J2S) Pacemaker provides an Eclipse Java to JavaScript compiler plugin … Continue reading

Posted in AJAX, Java, Java2Script | Tagged , , , , , | 1 Comment

Connect Yahoo IMAP Server by JavaMail

These days, I were implementing an online web mail client for all mail services, like Gmail, Hotmail/Live Mail, Yahoo! Mail, AOL/AIM Mail. And adding Yahoo! Mail support cost me lots of time, but the solution is simple. Yahoo! Mail provides … Continue reading

Posted in Java | Tagged , , | 10 Comments

Implementing Web AIM Client

Here are some notes when I was struggling to develop a web AIM client: 1. Download AIM SDK, both Windows and Linux In Linux environment, you may already have NSS/NSPR libraries installed, if not following instructions to install it. You … Continue reading

Posted in Java, Tomcat | Tagged | 10 Comments

JavaCC

I learned to use JavaCC these days. And I found that JavaCC is a great toolkit. What is JavaCC? JavaCC is short for Java Compiler Compiler. It is a parser or scanner generator for Java. Java Compiler Compiler [tm] (JavaCC … Continue reading

Posted in C++, Java, JavaScript | Tagged , | 2 Comments

Java Puzzlers

They are really very puzzling. Please check them out: Advanced Topics in Programming Languages: Java Puzzlers, Episode VI

Posted in Java | 2 Comments

Challenging Myself: Find 1st k-Digits Prime Number

Here is a task to challenge myself: Find the first k digits prime number. And k would be 16, 32, 64, 256, 1024, 8096, 65536, or even bigger. And the most challenging thing would be most of key calculations will … Continue reading

Posted in AJAX, Challenge, Java, JavaScript | Leave a comment

Google Talk Client’s Java SWT Desktop Copy

Actually, Google Talk Client’s Java SWT desktop copy is the original source for Google Talk Client’s JavaScript copy. And now it is available for download. Please take a trial. Sources of Java2Script Google Talk will be available in the next … Continue reading

Posted in AJAX, Google Talk, Java, Java2Script | 8 Comments

Debug into rt.jar

If you ever use Eclipse trying to debug into Java’s system APIs, such as java.lang.String or java.math.BigInteger, you may find that even you can step over or step in, or have the correct source file open and the correct line … Continue reading

Posted in Debug, Java | Leave a comment

Why Java Web Start Sucks

Just have a long waiting time for downloading the *.jar files, and always it comes to a security dialog notifying that the *.jar file is not signed or not signed by known CA while it requires unlimited local access and … Continue reading

Posted in Java | Leave a comment

Get Projects List in Eclipse Workbench

http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg13300.html Add org.eclipse.core.resources in the Require-Bundle section in your plugin MANIFEST.MF file and invoke code: ResourcesPlugin.getWorkspace().getRoot().getProjects()

Posted in Eclipse, Java, Tricks | Leave a comment