<?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/"
	>

<channel>
	<title>System Mobile</title>
	<atom:link href="http://www.systemmobile.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.systemmobile.com</link>
	<description>Java development tips and advise</description>
	<pubDate>Wed, 20 Jan 2010 22:21:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Avoid an MVEL Bug In Drools Snapshots</title>
		<link>http://www.systemmobile.com/?p=320</link>
		<comments>http://www.systemmobile.com/?p=320#comments</comments>
		<pubDate>Wed, 20 Jan 2010 22:21:13 +0000</pubDate>
		<dc:creator>nick</dc:creator>
		
		<category><![CDATA[Entry]]></category>

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

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

		<guid isPermaLink="false">http://www.systemmobile.com/?p=320</guid>
		<description><![CDATA[If you&#8217;re working with Drools trunk snapshots, you may be tripping over a bug in MVEL that caused me to lose about a day.  On the RHS (right-hand side, the consequence) of my rule I had the following: 

$queryResult.addResult(new Result($obj));

Which resulted in this error: [Error: unable to access property (null parent): $obj]
However, if I [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re working with <a href="http://www.jboss.org/drools/">Drools</a> trunk snapshots, you may be tripping over a bug in <a href="http://mvel.codehaus.org/">MVEL</a> that caused me to lose about a day.  On the RHS (right-hand side, the consequence) of my rule I had the following: </p>
<p><textarea name="code" class="java"><br />
$queryResult.addResult(new Result($obj));<br />
</textarea></p>
<p>Which resulted in this error: [Error: unable to access property (null parent): $obj]</p>
<p>However, if I call an accessor or otherwise do something with the object before passing it off to the constructor, it works fine: </p>
<p><textarea name="code" class="java"><br />
$obj.getName();<br />
$queryResult.addResult(new Result($obj));<br />
</textarea></p>
<p>Right now this appears to be a problem in MVEL, but I don&#8217;t know enough about the internals of Drools of MVEL to say for sure.  Ideally this workaround will keep you moving forward.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.systemmobile.com/?feed=rss2&amp;p=320</wfw:commentRss>
		</item>
		<item>
		<title>VMware and SpringSource - Why Bother?</title>
		<link>http://www.systemmobile.com/?p=317</link>
		<comments>http://www.systemmobile.com/?p=317#comments</comments>
		<pubDate>Mon, 10 Aug 2009 20:54:57 +0000</pubDate>
		<dc:creator>nick</dc:creator>
		
		<category><![CDATA[Entry]]></category>

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

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

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

		<guid isPermaLink="false">http://www.systemmobile.com/?p=317</guid>
		<description><![CDATA[Monday saw the rather surprising announcement that VMware is acquiring SpringSource for about $420m all in.  After the initial shock wore off, the next question had to be: Why bother acquiring SpringSource in the first place?  According to the press release: 
VMware and SpringSource plan to deliver compelling new solutions that enable companies [...]]]></description>
			<content:encoded><![CDATA[<p>Monday saw the rather surprising announcement that VMware is acquiring SpringSource for about $420m all in.  After the initial shock wore off, the next question had to be: Why bother acquiring SpringSource in the first place?  According to the press release: </p>
<blockquote><p>VMware and SpringSource plan to deliver compelling new solutions that enable companies to more efficiently build, run and manage applications within both internal and external cloud architectures. </p></blockquote>
<p>So VMware is going to attempt to use SpringSource&#8217;s code to virtualize application deployments and management.  Given Spring&#8217;s hooks into several application frameworks, it&#8217;s certainly possible but by no means guaranteed.  </p>
<p>With a recent stock downgrade (from Buy to Underperform), VMware has to make something happen quickly to justify spending over $400m for glorified middleware.</p>
<p>VMware shares are down just over 2% today.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.systemmobile.com/?feed=rss2&amp;p=317</wfw:commentRss>
		</item>
		<item>
		<title>Querying XML with eXist</title>
		<link>http://www.systemmobile.com/?p=313</link>
		<comments>http://www.systemmobile.com/?p=313#comments</comments>
		<pubDate>Sat, 08 Aug 2009 02:48:01 +0000</pubDate>
		<dc:creator>nick</dc:creator>
		
		<category><![CDATA[Entry]]></category>

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

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

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

		<guid isPermaLink="false">http://www.systemmobile.com/?p=313</guid>
		<description><![CDATA[Recently I needed to be able to be able to query a bunch of XML files using XQuery.  I looked at some options like CouchDB but ultimately I needed a database of some sort that had native support for XQuery.  While it looks like you can add on or hack in XQuery support [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I needed to be able to be able to query a bunch of XML files using XQuery.  I looked at some options like CouchDB but ultimately I needed a database of some sort that had native support for XQuery.  While it looks like you can add on or hack in XQuery support to CouchDB, I preferred to keep things simple and went with <a href="http://exist.sourceforge.net/">eXist</a>.  </p>
<p>eXist allows you to store XML documents, with supporting DTDs and schemas, and access the collections using various mechanisms like REST or WebDAV.  Once you have a number of XML documents in your repository, issuing an XQuery using the REST interface is pretty simple: </p>
<p><textarea class="xml" name="code"><br />
<?xml version="1.0" encoding="UTF-8"?><br />
<query xmlns="http://exist.sourceforge.net/NS/exist"  xmlns:foo="http://www.systemmobile.com/2006-05-05/foo"><br />
<text><br />
<![CDATA[<br />
for $i in /foo:Bar<br />
return <result>{$i/@priority}</result><br />
]]&gt;<br />
</text><br />
</query><br />
</textarea></p>
<p>The above query will return a something like: </p>
<p><textarea class="xml" name="code"><br />
<exist:result xmlns:exist="http://exist.sourceforge.net/NS/exist" exist:hits="24" exist:start="1" exist:count="10"><br />
    <result priority="1"/><br />
    <result priority="1"/><br />
    <result priority="1"/><br />
    <result priority="1"/><br />
    <result priority="1"/><br />
    <result priority="1"/><br />
    <result priority="1"/><br />
    <result priority="1"/><br />
    <result priority="1"/><br />
    <result priority="1"/><br />
</exist:result><br />
</textarea></p>
<p>You can learn more about XQuery&#8217;s FLWOR structure <a href="http://www.stylusstudio.com/xquery_flwor.html">here</a>.</p>
<p>But eXist is more than just an XML store.  By supporting XPath, XUpdate and XQuery Update, as well as <a href="http://exist.sourceforge.net/update_ext.html">custom extensions</a>, eXist can be an application platform.  I&#8217;m looking forward to working with XForms and Wicket in the future and I believe eXist will play heavily in that.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.systemmobile.com/?feed=rss2&amp;p=313</wfw:commentRss>
		</item>
		<item>
		<title>Wicket RefCard Released</title>
		<link>http://www.systemmobile.com/?p=311</link>
		<comments>http://www.systemmobile.com/?p=311#comments</comments>
		<pubDate>Wed, 29 Jul 2009 18:54:53 +0000</pubDate>
		<dc:creator>nick</dc:creator>
		
		<category><![CDATA[Entry]]></category>

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

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

		<guid isPermaLink="false">http://www.systemmobile.com/?p=311</guid>
		<description><![CDATA[Congrats to Andrew over at Mystic Coders for releasing his Wicket reference card over at DZone.  
Of course, I&#8217;m probably going to take his refcard text and work it into WicketForge.  
]]></description>
			<content:encoded><![CDATA[<p>Congrats to <a href="http://java.dzone.com/articles/wicket-refcard-released-meet">Andrew</a> over at <a href="http://www.mysticcoders.com/">Mystic Coders</a> for releasing his <a href="http://refcardz.dzone.com/refcardz/getting-started-apache-wicket?oid=ban00027-0">Wicket reference card</a> over at DZone.  </p>
<p>Of course, I&#8217;m probably going to take his refcard text and work it into <a href="http://code.google.com/p/wicketforge/">WicketForge</a>. <img src='http://www.systemmobile.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.systemmobile.com/?feed=rss2&amp;p=311</wfw:commentRss>
		</item>
		<item>
		<title>At long last, an excellent JAXB tutorial</title>
		<link>http://www.systemmobile.com/?p=307</link>
		<comments>http://www.systemmobile.com/?p=307#comments</comments>
		<pubDate>Tue, 24 Mar 2009 18:57:45 +0000</pubDate>
		<dc:creator>nick</dc:creator>
		
		<category><![CDATA[Entry]]></category>

		<category><![CDATA[jaxb tutorial xml java]]></category>

		<guid isPermaLink="false">http://www.systemmobile.com/?p=307</guid>
		<description><![CDATA[Like it or not, if you&#8217;re writing code today you&#8217;re going to have to deal with consuming and producing XML.  From my experience, one of the best options to manage the heavy lifting surrounding XML.  However finding useful information on JAXB is difficult, with various forum posts and mailing lists, most information is [...]]]></description>
			<content:encoded><![CDATA[<p>Like it or not, if you&#8217;re writing code today you&#8217;re going to have to deal with consuming and producing XML.  From my experience, one of the best options to manage the heavy lifting surrounding XML.  However finding useful information on JAXB is difficult, with various forum posts and mailing lists, most information is out of date.  Luckily Wolfgang Laun has created an <a href="https://jaxb.dev.java.net/tutorial/">outstanding tutorial</a>.  Wolfgang&#8217;s tutorial is possibly the most comprehensive (and most current) information on every aspect of JAXB.  I highly recommend it both as a getting started guide and a reference.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.systemmobile.com/?feed=rss2&amp;p=307</wfw:commentRss>
		</item>
	</channel>
</rss>
