Long time no post.
This time, I would like to introduce you Java2Script powered WeMail ( http://webuzz.im/mail/ ), a Gmail-alike web mail client. WeMail is a general web mail client for all POP/IMAP & SMTP mail providers. So it supports Gmail, Hotmail/Live Mail, Yahoo! Mail, AOL/AIM Mail and others.
WeMail currently provides Gmail demo accounts for demo: after the page is loaded, select “java2script.demo” or “java2script.talk” from email drop-down list and then login. You can compose and send new emails (Drafts are auto-saved). You can read and reply emails. Folder Drafts, Sent Mails, All Mails, Spam and Trash are supported. Setting, Search and Contact is not supported yet.
Screenshot of WeMail Web:
Screenshot of WeMail Desktop:
You can also visit WeMail development blog for more screenshots
WeMail is based on Java, JavaMail, SWT and Java2Script technologies, designed by Eclipse & WindowBuilder Pro. Here is WeMail development summary:
- First, design WeMail using WindowsBuilder Pro designer. Designing UI takes a lot of the time.
- Second, import JavaMail, separate email jobs into several Simple RPC classes and implement them using JavaMail API.
- Third, run and debug WeMail as a normal desktop Java application. Everything is about native Java development.
Why implementing another Gmail-alike web mail client?
- WeMail provides the abilities to use Gmail UI for other mail providers besides Gmail, like Hotmail or Yahoo! Mail. Gmail UI may increase people’s daily email processing efficiency.
- WeMail provides people another way for accessing to Gmail, Yahoo! Mail or other mail providers, in cases accessing to certain websites is blocked.
BTW: Along with development of WeMail, there are a few Java2Script updates (compiler bug-fixing and SWT library improvements). Please check it out.
Here comes Java2Script 1.0.0 final release!
Please visit http://j2s.sourceforge.net/ for more information.
4. Support incremental building for Java projects
6. Support most classes in java.lang.*, java.utils.* and others packages
8. Support creating Java2Script projects by wizard, including Servlet project
9. Support loading *.js from Firefox Add-on.
10. Support Eclipse 3.1.*, 3.2.* and 3.3.*
2. Window manager is built inside
3. Support UI blocking fow SWT’s Shell and Dialog
4. Support SWT deffered layout
5. Support detecting font size change in Firefox
2. Simple RPC API is introduced to call back Java server, which supports Cross Site Scripting
4. Support Java reflection (early implementation)
1. Support JUnit tests both Test Case and Test Suite in text mode.
2. SWT Control Examples ( http://demo.java2script.org/controls/ )
For more feature detailed description, please visit:
As Safari 3 Beta was published, I just tested it on a Java2Script demo. Here is the screenshot:
I spent about three days writng an SWT based Google Talk client. And the client used Smack Jabber library, which has simple APIs. As writing the client, I kept the code compatible with Java2Script, which means that I can use the latest Java2Script daily release to pack it as a web servlet application and deploy it as rich internet application (RIA). Here is snapshot of Java2Script version of Google Talk:
And here is the online Java2Script’s GTalk.
And because Java2Script’s SimpleRPC supports Cross Site Script, the above application can be loaded from any pages by adding the following HTML
to your page.
By digging about Google Talk on Digg.com, I found that Google Talk Gadget on Google’s personalized homepage was really hitting the latest news.
The Java2Script’s Google Talk sources are available at SVN repository now:
And you can also download j2s-1.0.0-m5-gtalk.zip, unzip it and deploy gtalk.war to your Java servlet container.
I spent some time to enhance a web notepad with auto-save feature. Here is screenshot:
As a matter of security fact, it is not ready for public tests, so now I am not publishing the . Maybe later I will add more strict rules to the notepad so that no malicious modifications harm the system. Or maybe I will not take such a risk.
Actually, more desktop applications can be converted into rich internet applications. I even consider converting a terminal console into Java2Script web application is possible. But maybe I won’t do so.
Java2Script now introduces Simple RPC, which is aiming to help Java
developers balancing and debugging *local* and *remote* procedure calls for AJAX RIAs without knowledge of serialization and deserialization.
In Simple RPC, Java client have two modes: AJAX mode and local Java Thread mode (Default mode).
Here are some simple words describing the procedure of developing AJAX RIAs with Simple RPC.
1. Java developer can debug those procedure calls in local Java Thread mode with local Java SWT client.
2. After functions implemented, they can add a Java servlet wrapper (Java2Script provided), export all things as a JAR file and deploy it to Java EE container.
3. And now switch Java client to AJAX mode (set some static variables) and test whether the deployed servlet is OK or not.
4. If not correctly deployed or bugs popup, developers can switch back to local Java
Thread mode and do their debugging again.
For more details, please check out latest codes from SVN.