<?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>[MeIsProgrammer] &#187; Uncategorized</title>
	<atom:link href="http://just-thor.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://just-thor.com</link>
	<description>all play and no work makes me a dull boy</description>
	<lastBuildDate>Sat, 03 Jul 2010 18:28:21 +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>Java 4-ever video</title>
		<link>http://just-thor.com/2010/06/29/java-4-ever-video/</link>
		<comments>http://just-thor.com/2010/06/29/java-4-ever-video/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 04:41:57 +0000</pubDate>
		<dc:creator>Thor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Scala]]></category>

		<guid isPermaLink="false">http://just-thor.com/?p=148</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/fzza-ZbEY70&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="385" src="http://www.youtube.com/v/fzza-ZbEY70&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://just-thor.com/2010/06/29/java-4-ever-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Implement Index controller in Spring Roo</title>
		<link>http://just-thor.com/2010/06/28/implement-index-controller-in-spring-roo/</link>
		<comments>http://just-thor.com/2010/06/28/implement-index-controller-in-spring-roo/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 08:01:05 +0000</pubDate>
		<dc:creator>Thor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Roo]]></category>
		<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://just-thor.com/?p=144</guid>
		<description><![CDATA[Recently been using Spring roo to produce a rapid prototype. I must say that Spring roo is a very good framework, although still lacking of some features but the potentials [...]]]></description>
			<content:encoded><![CDATA[<p>Recently been using Spring roo to produce a rapid prototype. I must say that Spring roo is a very good framework, although still lacking of some features but the potentials are there.</p>
<p>When you start a new Spring roo project, the default page will be &#8220;index.jspx&#8221;, what if we want to implement a controller to it?</p>
<p>First of all, locate the webmvc-config.xml in your project folder. Find and remove the following line<br />
<code>&amp;lt;mvc:view-controller path=&quot;/index&quot;/&amp;gt;</code></p>
<p>Then, create a Java class file in the source folder, in my case, will be the web folder. Let&#8217;s call it IndexController<br />
<pre><pre class="brush: java">
package com.justthor.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@RequestMapping(&quot;/&quot;)
@Controller
public class IndexController {
&nbsp;&nbsp;@RequestMapping(value = &quot;/index&quot;, method = RequestMethod.GET)
&nbsp;&nbsp;public String index(ModelMap modelMap) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* Implement logic here...*/
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return &quot;index&quot;;
&nbsp;&nbsp;}
}</pre></pre><br />
That&#8217;s it. To test it, you can implement a logger in your controller. Its quite useful if we want to load some data on the index page.</p>
<p>Happy coding <img src='http://just-thor.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://just-thor.com/2010/06/28/implement-index-controller-in-spring-roo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Released of Scala 2.8 Beta</title>
		<link>http://just-thor.com/2010/01/28/released-of-scala-2-8-beta/</link>
		<comments>http://just-thor.com/2010/01/28/released-of-scala-2-8-beta/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 01:59:09 +0000</pubDate>
		<dc:creator>Thor</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://just-thor.com/?p=125</guid>
		<description><![CDATA[Finally,Scala 2.8 beta is out&#8230; Here&#8217;s the release note. The new Scala 2.8 codebase includes the following new fixes and features: Redesigned collection library The collection library has undergone a [...]]]></description>
			<content:encoded><![CDATA[<p>Finally,Scala 2.8 beta is out&#8230;</p>
<p id="Whatisnew">Here&#8217;s the release note.</p>
<p>The new Scala 2.8 codebase includes the following new fixes and features:</p>
<ul>
<li><strong>Redesigned collection library</strong><br />
The collection library has undergone a complete overhaul for Scala 2.8, offering a more coherent and efficient design, while maintaining virtually complete compatibility with existing sources. Detailed information at: <a href="http://www.scala-lang.org/sid/3">http://www.scala-lang.org/sid/3</a></li>
<li><strong>New array implementation, manifests for polymorphic arrays</strong><strong><br />
</strong>Handling of arrays has been simplified and optimized in Scala 2.8. The previous compiler magic has been replaced by a more systematic and predictable implementation in terms of implicit conversions. Full details at: <a href="http://www.scala-lang.org/sid/7">http://www.scala-lang.org/sid/7</a></li>
<li><strong>Type specialization</strong><br />
Scala 2.8 adds specialized type parameters, which enable the compiler to generate transparently multiple versions of a given definition, and to use the most specific version whenever the static type information at a call site allows it. Details at: <a href="http://www.scala-lang.org/sid/9">http://www.scala-lang.org/sid/9</a></li>
</ul>
<ul>
<li><strong>Named and default arguments</strong><br />
Named arguments improve the readability of method calls with many arguments. Default arguments reduce code duplication, and enable &#8220;copy&#8221; methods for case classes, useful to generate quickly modified copies of case classes. A complete description at: <a href="http://www.scala-lang.org/sid/1">http://www.scala-lang.org/sid/1</a></li>
</ul>
<ul>
<li><strong>Package objects</strong><br />
Packages can now contain besides classes and objects also methods, fields or type aliases. These are added to a package by declaring a package object. Package objects are still work in progress; more capabilities might come for 2.8 final or a release soon afterwards.</li>
</ul>
<ul>
<li><strong>Beefed up Scala Swing libraries, better documentation</strong><br />
Components publish key events, input events can be consumed, refactored window subhierarchy, additional demos, Swing listeners are installed lazily, more complete component caching, minor refactorings, bugfixes, more Scaladocs. Design document at: <a href="http://www.scala-lang.org/sid/8">http://www.scala-lang.org/sid/8</a></li>
</ul>
<ul>
<li><strong>Revamped REPL</strong><br />
Many bugfixes. Tab-completion for all packages on the classpath, as well as object and instance methods and fields, including type aliases and package objects. Searchable history, integrated shell access, and a power mode which offers direct access to compiler internals.</li>
</ul>
<ul>
<li><strong>Implicits changes</strong><br />
We have refined the implicit resolution process so that resolution is now able to determine type variables.</li>
</ul>
<ul>
<li><strong>Improved equality</strong><br />
Equality across numeric types is to be consistent across all the primitives types, while also adhering to the equals/hashCode contract. Numeric comparisons will have the same results as they would between Java primitives. This is currently still being completed.</li>
</ul>
<ul>
<li><strong>Packrat parser combinators</strong><br />
With support for packrat parsing, parser combinators are now able to handle left-recursive grammars and will show improved performance for ambiguous productions.</li>
</ul>
<ul>
<li><strong>Improved XML library</strong><br />
Many bugfixes.</li>
</ul>
<ul>
<li><strong>Type constructor inference</strong><br />
Type inference has been extended to deal with type constructors, so that, in certain cases, you can omit type parameter lists that contain higher-kinded types (aka type constructors, e.g., <span style="font-family: monospace;">List</span>).</li>
</ul>
<ul>
<li><strong>Improved Annotations</strong><br />
Scala 2.8 adds support for nested java annotations. For annotations on fields, it is now possible to specify which synthetic members (getter / setter) will have the annotation. Documentation about Scala annotations can be found at: <a href="http://www.scala-lang.org/sid/5">http://www.scala-lang.org/sid/5</a></li>
</ul>
<ul>
<li><strong>Enhanced actors</strong><br />
New Reactors provide more lightweight, purely event-based actors with optional, implicit sender identification. Support for actors with daemon-style semantics was added. Actors can be configured to use the efficient JSR166y fork/join pool, resulting in significant performance improvements on 1.6 JVMs. Schedulers are now pluggable and easier to customize.</li>
</ul>
<ul>
<li><strong>Support for continuations</strong><br />
Continuations are supported by a compiler plugin. This plugin is not included in this first beta, but will be added in subsequent releases.</li>
</ul>
<p>Here&#8217;s the <a title="Scala 2.8 Beta released" href="http://www.scala-lang.org/node/4587" target="_blank">office page link</a> and here&#8217;s the <a title="Scala download link" href="http://www.scala-lang.org/downloads" target="_blank">download link</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://just-thor.com/2010/01/28/released-of-scala-2-8-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
