<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Java2Script Pacemaker &#187; RPC</title>
	<atom:link href="http://blog.java2script.org/category/rpc/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.java2script.org</link>
	<description>Reusing existed Java codes into JavaScripts</description>
	<lastBuildDate>Tue, 01 Jun 2010 06:51:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Java2Script 1.0.0 Final Release</title>
		<link>http://blog.java2script.org/2007/10/02/java2script-100-final-release/</link>
		<comments>http://blog.java2script.org/2007/10/02/java2script-100-final-release/#comments</comments>
		<pubDate>Tue, 02 Oct 2007 18:23:21 +0000</pubDate>
		<dc:creator>仨仁仕</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Java2Script News]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[RPC]]></category>
		<category><![CDATA[SWT]]></category>
		<category><![CDATA[Simple RPC]]></category>

		<guid isPermaLink="false">http://java2script.org/blog/2007/10/02/java2script-100-final-release/</guid>
		<description><![CDATA[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 &#8230; <a href="http://blog.java2script.org/2007/10/02/java2script-100-final-release/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here comes Java2Script 1.0.0 final release! </p>
<p>Please visit <a href="http://j2s.sourceforge.net/">http://j2s.sourceforge.net/</a> for more information.</p>
<p>Feature List<br />
==========</p>
<p>Java2Script Core<br />
----------------<br />
1. Object oriented JavaScript simulator is introduced<br />
2. JavaScript ClassLoader is built inside<br />
3. Eclipse JDT based Java to JavaScript compiler, support Java 1.4 and Java 5 features, including generic, enums, static imports, enhanced loops<br />
4. Support incremental building for Java projects<br />
5. Support Hotspot JavaScript swapping for debugging<br />
6. Support most classes in java.lang.*, java.utils.* and others packages<br />
7. Support native JavaScript through @j2s* Javadoc in Java sources<br />
8. Support creating Java2Script projects by wizard, including Servlet project<br />
9. Support loading *.js from Firefox Add-on.<br />
10. Support Eclipse 3.1.*, 3.2.* and 3.3.*</p>
<p>Java2Script SWT<br />
---------------<br />
1. Eclipse SWT 3.1 API is ported for JavaScript in modern browsers, Firefox, Internet Explorer, Opera, Safari<br />
2. Window manager is built inside<br />
3. Support UI blocking fow SWT's Shell and Dialog<br />
4. Support SWT deffered layout<br />
5. Support detecting font size change in Firefox</p>
<p>Java2Script AJAX<br />
----------------<br />
1. HttpRequest/AJAX is introduced for both Java and JavaScript<br />
2. Simple RPC API is introduced to call back Java server, which supports Cross Site Scripting<br />
3. Support dynamic class loading for both Java and JavaScript<br />
4. Support Java reflection (early implementation)</p>
<p>Java2Script JUnit<br />
-----------------<br />
1. Support JUnit tests both Test Case and Test Suite in text mode.</p>
<p>Java2Script Example<br />
-------------------<br />
1. Google Talk in JavaScript ( <a href="http://demo.java2script.org/gtalk/">http://demo.java2script.org/gtalk/</a> )<br />
2. SWT Control Examples ( <a href="http://demo.java2script.org/controls/">http://demo.java2script.org/controls/</a> )</p>
<p>For more feature detailed description, please visit:<br />
<a href="http://j2s.sourceforge.net/features.html">http://j2s.sourceforge.net/features.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.java2script.org/2007/10/02/java2script-100-final-release/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Java2Script&#039;s GTalk</title>
		<link>http://blog.java2script.org/2007/03/16/java2scripts-gtalk/</link>
		<comments>http://blog.java2script.org/2007/03/16/java2scripts-gtalk/#comments</comments>
		<pubDate>Fri, 16 Mar 2007 14:08:15 +0000</pubDate>
		<dc:creator>仨仁仕</dc:creator>
				<category><![CDATA[A Link An Application]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[ALAA]]></category>
		<category><![CDATA[Java2Script News]]></category>
		<category><![CDATA[RPC]]></category>
		<category><![CDATA[SWT]]></category>
		<category><![CDATA[Screenshot]]></category>
		<category><![CDATA[Simple RPC]]></category>

		<guid isPermaLink="false">http://j2s.sourceforge.net/blog/2007/03/16/java2scripts-gtalk/</guid>
		<description><![CDATA[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 &#8230; <a href="http://blog.java2script.org/2007/03/16/java2scripts-gtalk/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I spent about three days writng an SWT based Google Talk client. And the client used <a href="http://www.jivesoftware.org/smack/" target="_blank" title="Smack">Smack</a> 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:</p>
<p><a href="http://vip.zhourenjian.com/uploads/j2s-gtalk.png" title="Java2Script's GTalk"><img src="http://vip.zhourenjian.com/uploads/j2s-gtalk.png" alt="Java2Script's GTalk" title="Java2Script's GTalk" height="252" width="487" /></a></p>
<p>And here is the <a href="http://demo.java2script.org/gtalk/" title="Java2Script's GTalk">online Java2Script's GTalk</a>.</p>
<p>And because Java2Script's SimpleRPC supports Cross Site Script, the above application can be loaded from any pages by adding the following HTML</p>
<p><a href="javascript:if(a='jabber.gmail.GoogleTalk@http://demo.java2script.org/gtalk/bin-v20070315/',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-m5/j2slib.z.js';(typeof x[t]=='undefined')?x.onload=f:x[t]=f;d.getElementsByTagName('HEAD')[0].appendChild(x);void(0);}">Launch GoogleTalk</a></p>
<p>to your page.</p>
<p>Or you can just copy the above "javascript:..." part (without quotes) and paste it to address bar and go. You will get a Google Talk client (pure JavaScript) in your page (this page or other pages). This "javascript:..." part is considered as A Link An Application (ALAA).</p>
<p>By <a href="http://digg.com/software/Java2Script_version_of_Google_Talk">digging about Google Talk on Digg.com</a>, I found that <a href="http://googletalk.blogspot.com/2007/03/google-talk-gadget.html" title="Google Talk Gadget">Google Talk Gadget on Google's personalized homepage</a> was really hitting the latest news.</p>
<p>Enjoy it.</p>
<p>Update:</p>
<p>The Java2Script's Google Talk sources are available at SVN repository now:<br />
<a href="http://j2s.svn.sourceforge.net/viewvc/j2s/trunk/demos/org.java2script.demo.gtalk/">http://j2s.svn.sourceforge.net/viewvc/j2s/trunk/demos/org.java2script.demo.gtalk/</a></p>
<p>And you can also download <a href="http://prdownloads.sourceforge.net/j2s/j2s-1.0.0-m5-gtalk.zip?download">j2s-1.0.0-m5-gtalk.zip</a>, unzip it and deploy gtalk.war to your Java servlet container.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.java2script.org/2007/03/16/java2scripts-gtalk/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Screenshot of Java2Script Web Notepad</title>
		<link>http://blog.java2script.org/2006/12/17/screenshot-of-java2script-web-notepad/</link>
		<comments>http://blog.java2script.org/2006/12/17/screenshot-of-java2script-web-notepad/#comments</comments>
		<pubDate>Sun, 17 Dec 2006 16:20:07 +0000</pubDate>
		<dc:creator>仨仁仕</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[RPC]]></category>
		<category><![CDATA[SWT]]></category>
		<category><![CDATA[Screenshot]]></category>
		<category><![CDATA[Sharing]]></category>
		<category><![CDATA[Simple RPC]]></category>

		<guid isPermaLink="false">http://j2s.sourceforge.net/blog/2006/12/17/screenshot-of-java2script-web-notepad/</guid>
		<description><![CDATA[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 &#8230; <a href="http://blog.java2script.org/2006/12/17/screenshot-of-java2script-web-notepad/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I spent some time to enhance a web notepad with auto-save feature. Here is screenshot:</p>
<p><a title="Click to get a full view" href="http://j2s.sourceforge.net/screenshots/j2s-web-notepad.png"><img width="409" height="394" title="Java2Script Web Notepad" alt="Java2Script Web Notepad" src="http://j2s.sourceforge.net/screenshots/j2s-web-notepad-medium.png" /></a></p>
<p>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.</p>
<p>Actually, more desktop applications can be converted into rich internet applications. I even consider converting a <strong>terminal console</strong> into Java2Script web application is possible. But maybe I won't do so.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.java2script.org/2006/12/17/screenshot-of-java2script-web-notepad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java2Script Introduces Simple RPC</title>
		<link>http://blog.java2script.org/2006/10/12/java2script-introduces-simple-rpc/</link>
		<comments>http://blog.java2script.org/2006/10/12/java2script-introduces-simple-rpc/#comments</comments>
		<pubDate>Thu, 12 Oct 2006 19:58:39 +0000</pubDate>
		<dc:creator>仨仁仕</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Java2Script News]]></category>
		<category><![CDATA[RPC]]></category>
		<category><![CDATA[Simple RPC]]></category>

		<guid isPermaLink="false">http://j2s.sourceforge.net/blog/2006/10/12/java2script-introduces-simple-rpc/</guid>
		<description><![CDATA[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 &#8230; <a href="http://blog.java2script.org/2006/10/12/java2script-introduces-simple-rpc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Java2Script now introduces Simple RPC, which is aiming to help Java<br />
developers balancing and debugging *local* and *remote* procedure calls for  AJAX RIAs without knowledge of serialization and deserialization.</p>
<p>In Simple RPC, Java client have two modes: AJAX mode and local Java Thread mode (Default mode).<br />
Here are some simple words describing the procedure of developing AJAX RIAs with Simple RPC.</p>
<p>1. Java developer can debug those procedure calls in local Java Thread mode with local Java SWT client.</p>
<p>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.</p>
<p>3. And now switch Java client to AJAX mode (set some static variables) and test whether the deployed servlet is OK or not.</p>
<p>4. If not correctly deployed or bugs popup, developers can switch back to local Java<br />
Thread mode and do their debugging again.</p>
<p>5. In the end, use Java2Script compiler to compiler the Java SWT client into JavaScript RIA client and test it in browser.</p>
<p>For more details, please check out latest codes from SVN.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.java2script.org/2006/10/12/java2script-introduces-simple-rpc/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

