<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.1" -->
<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/"
	>

<channel>
	<title>SWX Java</title>
	<link>http://swxjava.org</link>
	<description>SWX RPC implementation in Java.</description>
	<pubDate>Sun, 09 Dec 2007 16:07:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>
	<language>en</language>
			<item>
		<title>Now, SWX Java has a Date converter.</title>
		<link>http://swxjava.org/14</link>
		<comments>http://swxjava.org/14#comments</comments>
		<pubDate>Sun, 09 Dec 2007 16:06:18 +0000</pubDate>
		<dc:creator>ken</dc:creator>
		
		<category><![CDATA[Releases]]></category>

		<category><![CDATA[swxjava]]></category>

		<guid isPermaLink="false">http://swxjava.org/14</guid>
		<description><![CDATA[ I&#8217;ve implemented Date converter for AVM1 assembler. AS Date value is converted from java.util.Date, java.util.Calendar, java.sql.Date and java.sql.Timestamp. You can find a updated swx.jar file here.  
]]></description>
			<content:encoded><![CDATA[<p id="top" /><img src="http://swxjava.org/wp-content/uploads/2007/12/tests.thumbnail.jpg" alt="DataType test suites" /> <span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 11px; line-height: normal; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px">I&#8217;ve implemented Date converter for AVM1 assembler. AS Date value is converted from java.util.Date, java.util.Calendar, java.sql.Date and java.sql.Timestamp. You can find a updated swx.jar file <a href="http://code.google.com/p/swxjava/downloads/list">here</a>.<span class="Apple-style-span" style="font-family: Georgia; font-size: 16px; line-height: 20px; white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px">  </span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://swxjava.org/14/feed</wfw:commentRss>
		</item>
		<item>
		<title>Requirements for practical use?</title>
		<link>http://swxjava.org/11</link>
		<comments>http://swxjava.org/11#comments</comments>
		<pubDate>Mon, 05 Nov 2007 11:50:40 +0000</pubDate>
		<dc:creator>ken</dc:creator>
		
		<category><![CDATA[swxjava]]></category>

		<guid isPermaLink="false">http://swxjava.org/11</guid>
		<description><![CDATA[These are just ideas(features) for ease of RIA development based on my experiences.If you have any good idea, feel free to participate.Server side features:

Conversion support for recursive references.
Context driven bean converter(To reduce conversion and transportation overheads)
Custom pre-processor for the SWX RPC request.(ex. To use a custom interface and an abstract class in the signature.) 
Support for [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />These are just ideas(features) for ease of RIA development based on my experiences.If you have any good idea, feel free to participate.<strong>Server side features:</strong>
<ol>
<li>Conversion support for recursive references.</li>
<li>Context driven bean converter(To reduce conversion and transportation overheads)</li>
<li>Custom pre-processor for the SWX RPC request.(ex. To use a custom interface and an abstract class in the signature.) </li>
<li>Support for AVM1 and AVM2 assemblers.</li>
<li>Annotation configuration.</li>
</ol>
<p><strong>Client side features:</strong>
<ol>
<li>AS class mapping for DTOs.</li>
<li>Expression support for recursive references.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://swxjava.org/11/feed</wfw:commentRss>
		</item>
		<item>
		<title>SWX Java alpha released!</title>
		<link>http://swxjava.org/10</link>
		<comments>http://swxjava.org/10#comments</comments>
		<pubDate>Mon, 15 Oct 2007 23:13:55 +0000</pubDate>
		<dc:creator>ken</dc:creator>
		
		<category><![CDATA[Releases]]></category>

		<guid isPermaLink="false">http://swxjava.org/?p=10</guid>
		<description><![CDATA[
The alpha version of SWX Java was released on Google code.
This is an alpha test version so that developers and users can find out about SWX Java, and make comments on how to improve it.
Here is a quick guide on how to use SWX Java. 
How to use :

Copy swxjava.jar and json_simple.jar  to WEB-INF/lib [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p>The alpha version of SWX Java was released on <a href="http://code.google.com/p/swxjava/">Google code</a>.<br />
This is an alpha test version so that developers and users can find out about SWX Java, and make comments on how to improve it.<br />
Here is a quick guide on how to use SWX Java. </p>
<p><strong>How to use :</strong></p>
<ol>
<li>Copy <a href="http://swxjava.googlecode.com/files/swx.jar">swxjava.jar</a> and <a href="http://www.json.org/java/simple.txt" title="JSON.simple" target="_blank">json_simple.jar</a>  to WEB-INF/lib directory of your web-app.</li>
<li>Create a service class in java.</li>
<li>Edit the config files (web.xml and swx.xml).
<p><strong>- web.xml</strong></p>
<p><code>&lt;web-app id="swx"&gt;<br />
 &lt;servlet&gt;<br />
 	&lt;servlet-name&gt;swx-gateway&lt;/servlet-name&gt;<br />
 	&lt;display-name&gt;SWX Gateway Servlet&lt;/display-name&gt;<br />
 	&lt;description&gt;SWX Gateway Servlet&lt;/description&gt;<br />
 	&lt;servlet-class&gt;org.swxjava.servlet.SwxGatewayServlet&lt;/servlet-class&gt;<br />
 	&lt;init-param&gt;<br />
 		&lt;param-name&gt;debug&lt;/param-name&gt;<br />
 		&lt;param-value&gt;true&lt;/param-value&gt;<br />
 	&lt;/init-param&gt;<br />
 	&lt;load-on-startup&gt;1&lt;/load-on-startup&gt;<br />
 &lt;/servlet&gt;<br />
 &lt;servlet-mapping&gt;<br />
 	&lt;servlet-name&gt;swx-gateway&lt;/servlet-name&gt;<br />
 	&lt;url-pattern&gt;/swx/*&lt;/url-pattern&gt;<br />
 &lt;/servlet-mapping&gt;<br />
&lt;/web-app&gt;</code></p>
<p><strong>- swx.xml under the WEB-INF directory</strong></p>
<p><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
&lt;!DOCTYPE swx PUBLIC &#8220;-//DTD SWX Java 0.1//EN&#8221;<br />
  &#8220;http://swxjava.org/dtds/swx-01.dtd&#8221;&gt;<br />
&lt;swx&gt;<br />
 &lt;allow&gt;<br />
 	&lt;convert converter=&#8221;bean&#8221; match=&#8221;org.swxjava.examples.*&#8221; /&gt;<br />
 	&lt;service name=&#8221;TestDataTypes&#8221; locator=&#8221;new&#8221;&gt;<br />
 		&lt;param name=&#8221;class&#8221; value=&#8221;org.swxjava.examples.TestDataTypes&#8221; /&gt;<br />
 	&lt;/service&gt;<br />
 &lt;/allow&gt;<br />
&lt;/swx&gt;</code>
</li>
<li>Deploy your web app.</li>
<li>Make swx call.<br/><br />
<code>import org.swxformat.SWX;<br />
// Set up SWX gateway<br />
var swx:SWX = new SWX();<br />
swx.gateway = &#8220;http://localhost:8080/YOUR_APP_NAME/swx/gateway&#8221;;<br />
swx.debug = true;<br />
var callParameters:Object =<br />
{<br />
    serviceClass: &#8220;TestDataTypes&#8221;,<br />
    method: &#8220;testArray&#8221;,<br />
    result: [this, this[&#8221;testArrayHandler&#8221;]]<br />
}<br />
swx.call(callParameters);<br />
function testArrayHandler(event:Object) {<br />
    trace(&#8221;Result : &#8221; + event.result);<br />
}<br />
</code>
</li>
</ol>
<p><strong>TODO :</strong></p>
<ul>
<li>Documentation</li>
<li>Performance enhancement</li>
<li>Cool examples</li>
<li>Support for SWX Tools</li>
<li>Error handling</li>
<li>Logging</li>
<li>Date converter</li>
<li>AVM2 support</li>
<li>Annotation</li>
<li>Context driven JavaBean converter</li>
</ul>
<p>There is an mailing list on Google groups, if you have any questions and suggestions. You could join  <a href="http://groups.google.com/group/swxjava">swxjava group</a>.<br />
SWX Java is Open Source, available under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT License</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://swxjava.org/10/feed</wfw:commentRss>
		</item>
		<item>
		<title>Ready to use java data types!</title>
		<link>http://swxjava.org/9</link>
		<comments>http://swxjava.org/9#comments</comments>
		<pubDate>Mon, 08 Oct 2007 03:23:46 +0000</pubDate>
		<dc:creator>ken</dc:creator>
		
		<category><![CDATA[swxjava]]></category>

		<guid isPermaLink="false">http://swxjava.org/?p=9</guid>
		<description><![CDATA[  Finally, SWX Java passed TestDataTypes! Listed  below are the supported Java data types and their associated ActionScript types.  SWX Java provides a BeanConverter which convert Custom JavaBean class to Map and finally ActionScript Object automatically. 


Java Type
ActionScript type


java.lang.Void, void
null


Custom class (JavaBean)
Object


java.lang.String
String


java.lang.Boolean, boolean 
Boolean


java.lang.Byte, byte
Number


java.lang.Short, short
Number


java.lang.Integer, int
Number


java.lang.Long, long
Number


java.lang.Float, float
Number


java.lang.Double, double
Number


java.lang.Character, char
String


java.util.Collection
Array


java.util.Map
Object


Array
Array


]]></description>
			<content:encoded><![CDATA[<p id="top" /><a href="http://swxjava.org/wp-content/uploads/2007/10/swxjava-test.gif" title="TestDataTypes"><img src="http://swxjava.org/wp-content/uploads/2007/10/swxjava-test.thumbnail.gif" alt="TestDataTypes" /></a>  Finally, SWX Java passed TestDataTypes! Listed  below are the supported Java data types and their associated ActionScript types.  SWX Java provides a BeanConverter which convert Custom JavaBean class to Map and finally ActionScript Object automatically. <br />
<table>
<tr>
<th>Java Type</th>
<th>ActionScript type</th>
</tr>
<tr>
<td>java.lang.Void, void</td>
<td>null</td>
</tr>
<tr>
<td>Custom class (JavaBean)</td>
<td>Object</td>
</tr>
<tr>
<td>java.lang.String</td>
<td>String</td>
</tr>
<tr>
<td>java.lang.Boolean, boolean </td>
<td>Boolean</td>
</tr>
<tr>
<td>java.lang.Byte, byte</td>
<td>Number</td>
</tr>
<tr>
<td>java.lang.Short, short</td>
<td>Number</td>
</tr>
<tr>
<td>java.lang.Integer, int</td>
<td>Number</td>
</tr>
<tr>
<td>java.lang.Long, long</td>
<td>Number</td>
</tr>
<tr>
<td>java.lang.Float, float</td>
<td>Number</td>
</tr>
<tr>
<td>java.lang.Double, double</td>
<td>Number</td>
</tr>
<tr>
<td>java.lang.Character, char</td>
<td>String</td>
</tr>
<tr>
<td>java.util.Collection</td>
<td>Array</td>
</tr>
<tr>
<td>java.util.Map</td>
<td>Object</td>
</tr>
<tr>
<td>Array</td>
<td>Array</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://swxjava.org/9/feed</wfw:commentRss>
		</item>
		<item>
		<title>SWX Java project page just launched!</title>
		<link>http://swxjava.org/7</link>
		<comments>http://swxjava.org/7#comments</comments>
		<pubDate>Sun, 07 Oct 2007 15:18:13 +0000</pubDate>
		<dc:creator>ken</dc:creator>
		
		<category><![CDATA[swxjava]]></category>

		<guid isPermaLink="false">http://swxjava.org/?p=7</guid>
		<description><![CDATA[

I&#8217;m happy to announce that swx java project page just launched. 
Now, SWX Java assembler and servlet gateway is almost working correctly in my environment. So I will release SWX Java beta in some days. 
SWX Java provides cool features to Java developers: 
 
Compatible with SWX ActionScript Library
SWX Java will run on standard servlet engines like Tomcat, [...]]]></description>
			<content:encoded><![CDATA[<p id="top" />
<p style="text-align: right"><img src="http://swxjava.org/wp-content/uploads/2007/10/comingsoon.thumbnail.gif" alt="Coming soon …" /><span style="font-family: 'Lucida Grande'; font-size: 11px; line-height: normal; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px" class="Apple-style-span"></span></p>
<p style="text-align: left"><span style="font-family: 'Lucida Grande'; font-size: 11px; line-height: normal; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px" class="Apple-style-span">I&#8217;m happy to announce that swx java project page just launched. </span></p>
<p style="text-align: left"><span style="font-family: 'Lucida Grande'; font-size: 11px; line-height: normal; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px" class="Apple-style-span"><span style="font-family: Georgia; font-size: 16px; line-height: 20px; white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px" class="Apple-style-span"><span style="font-family: 'Lucida Grande'; font-size: 11px; line-height: normal; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px" class="Apple-style-span">Now, SWX Java assembler and servlet gateway is almost working correctly in my environment. So I will release SWX Java beta in some days.</span> </span></span></p>
<p><span style="font-family: 'Lucida Grande'; font-size: 11px; line-height: normal; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px" class="Apple-style-span">SWX Java provides cool features to Java developers: </span><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 11px; line-height: normal; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px">
<ul id="null"> 
<li>Compatible with SWX ActionScript Library</li>
<li>SWX Java will run on standard servlet engines like Tomcat, JBoss, etc.</li>
<li>Debug mode using SWX Tools (SWX Data Analyzer. Plan to support SWX Service Explorer)</li>
<li>JSON and Java mapping</li>
<li>Spring Framework integration support</li>
</ul>
<p></span>Keep going with SWX!</p>
]]></content:encoded>
			<wfw:commentRss>http://swxjava.org/7/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
