It’s amazing to see that Java2Script’s Google Talk get run on Opera Mini 4 inside a mobile phone.
Here are screenshots:
Zoom in to get a clear look:
Login and connect:
Now we are in:
Zoom in to get a clear look on friend list:
But Java2Script Gtalk does not get run as totally correct. It fails to maintain normal connection back to Gtalk proxy server. So after a few seconds, the proxy server closes the connection. Maybe Java2Script Gtalk may fix this problem later. And also I think Opera Mini team may improve its AJAX supports in the near future so nothing need to be modified.
Here is an early screenshot:
BTW: Window Builder Pro was used to design the above UI
For more updated information, please visit http://demo.java2script.org/gtalk/.
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.
The updates mainly include Combo, Spinner, Menu, ToolBar and CoolBar. For more details, please check out latest sources from SVN, or stay tuned for 1.0.0 M4 scheduled in the next month.
Of course the performance and the size of *.js will be optimized to an acceptable level in the future.
PS: J2S SWT Control Example on j2s.sourceforge.net
And finally, after sometime of compressing and ripping out unused codes, after packed by dean edward’s packer, it’s about 250k of the size, and take about 5s to initialize. Considered acceptable when comparing to native Java SWT application.
Now, you can download the Control Example(*.zip 139k), and view the example locally.