<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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>Comments on: Creating JSF applications with JRuby and ActiveRecord-JDBC (Part 2)</title>
	<atom:link href="http://faces.eti.br/2008/03/16/creating-jsf-applications-with-jruby-and-activerecord-jdbc-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://faces.eti.br/2008/03/16/creating-jsf-applications-with-jruby-and-activerecord-jdbc-part-2/</link>
	<description>This site talks about the many challenges on computer programming.</description>
	<lastBuildDate>Mon, 15 Feb 2010 19:50:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: rogerio</title>
		<link>http://faces.eti.br/2008/03/16/creating-jsf-applications-with-jruby-and-activerecord-jdbc-part-2/comment-page-1/#comment-18563</link>
		<dc:creator>rogerio</dc:creator>
		<pubDate>Sun, 23 Mar 2008 01:04:39 +0000</pubDate>
		<guid isPermaLink="false">http://faces.eti.br/?p=95#comment-18563</guid>
		<description>I checked the Kito presentation and it&#039;s pretty similar to my approach but this article is only based on spring docs. In the end the Kito presentation and this article gives some ideas about  the possibilities of web development using jsf.</description>
		<content:encoded><![CDATA[<p>I checked the Kito presentation and it&#8217;s pretty similar to my approach but this article is only based on spring docs. In the end the Kito presentation and this article gives some ideas about  the possibilities of web development using jsf.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kito D. Mann</title>
		<link>http://faces.eti.br/2008/03/16/creating-jsf-applications-with-jruby-and-activerecord-jdbc-part-2/comment-page-1/#comment-18476</link>
		<dc:creator>Kito D. Mann</dc:creator>
		<pubDate>Fri, 21 Mar 2008 05:58:54 +0000</pubDate>
		<guid isPermaLink="false">http://faces.eti.br/?p=95#comment-18476</guid>
		<description>Rafael, the JSFDays presentation is available here: http://conference.irian.at/conference/main/schedule.jsf?conversationContext=1#sess_9. It doesn&#039;t cover active record, though. Just some integration scenarios.</description>
		<content:encoded><![CDATA[<p>Rafael, the JSFDays presentation is available here: <a href="http://conference.irian.at/conference/main/schedule.jsf?conversationContext=1#sess_9" rel="nofollow">http://conference.irian.at/conference/main/schedule.jsf?conversationContext=1#sess_9</a>. It doesn&#8217;t cover active record, though. Just some integration scenarios.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dinko</title>
		<link>http://faces.eti.br/2008/03/16/creating-jsf-applications-with-jruby-and-activerecord-jdbc-part-2/comment-page-1/#comment-18359</link>
		<dc:creator>Dinko</dc:creator>
		<pubDate>Wed, 19 Mar 2008 10:58:30 +0000</pubDate>
		<guid isPermaLink="false">http://faces.eti.br/?p=95#comment-18359</guid>
		<description>Hm, it seems part of my post didn&#039;t get through. Anyway, just set the name, than print it (puts costumer.getName) and than compare it with other_name (puts MyCostumer.other_name).</description>
		<content:encoded><![CDATA[<p>Hm, it seems part of my post didn&#8217;t get through. Anyway, just set the name, than print it (puts costumer.getName) and than compare it with other_name (puts MyCostumer.other_name).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dinko</title>
		<link>http://faces.eti.br/2008/03/16/creating-jsf-applications-with-jruby-and-activerecord-jdbc-part-2/comment-page-1/#comment-18358</link>
		<dc:creator>Dinko</dc:creator>
		<pubDate>Wed, 19 Mar 2008 10:55:29 +0000</pubDate>
		<guid isPermaLink="false">http://faces.eti.br/?p=95#comment-18358</guid>
		<description>Hi Rogerio,

You might want to know that in your MyCostumer class @name from the class (@name = \\\&#039;\\\&#039;) is not the same as @name instance variable from the methods getName and setName. To see the difference add static method like this:

  def MyCostumer.other_name
    @name
  end

then check the values:

  costumer = MyCostumer.new()
  costumer.setName(\\</description>
		<content:encoded><![CDATA[<p>Hi Rogerio,</p>
<p>You might want to know that in your MyCostumer class @name from the class (@name = \\\&#8217;\\\&#8217;) is not the same as @name instance variable from the methods getName and setName. To see the difference add static method like this:</p>
<p>  def MyCostumer.other_name<br />
    @name<br />
  end</p>
<p>then check the values:</p>
<p>  costumer = MyCostumer.new()<br />
  costumer.setName(\\</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joeri</title>
		<link>http://faces.eti.br/2008/03/16/creating-jsf-applications-with-jruby-and-activerecord-jdbc-part-2/comment-page-1/#comment-18309</link>
		<dc:creator>Joeri</dc:creator>
		<pubDate>Tue, 18 Mar 2008 16:58:25 +0000</pubDate>
		<guid isPermaLink="false">http://faces.eti.br/?p=95#comment-18309</guid>
		<description>Hey,

I don\\\&#039;t have any experience with jruby and using Java classes from within Ruby, I just do pure Rails development
but usually things like this:

def getCostumers
         list = ArrayList.new

         Costumer.find(:all).each { &#124; costumer &#124;
           myCostumer = MyCostumer.new costumer
           list.add myCostumer
         }              

         return list          
 end

are much shorter. For example, if we needed just a Ruby array, we could do it this way:


def getCostumers
        Costumer.find(:all).collect{ &#124; costumer &#124;  MyCostumer.new(costumer) } 
end

this method returns an instance of Ruby Array (which is closer to ArrayList than to Java arrays). Return is not necessary, and methods like select, collect, ad reject are cool</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>I don\\\&#8217;t have any experience with jruby and using Java classes from within Ruby, I just do pure Rails development<br />
but usually things like this:</p>
<p>def getCostumers<br />
         list = ArrayList.new</p>
<p>         Costumer.find(:all).each { | costumer |<br />
           myCostumer = MyCostumer.new costumer<br />
           list.add myCostumer<br />
         }              </p>
<p>         return list<br />
 end</p>
<p>are much shorter. For example, if we needed just a Ruby array, we could do it this way:</p>
<p>def getCostumers<br />
        Costumer.find(:all).collect{ | costumer |  MyCostumer.new(costumer) }<br />
end</p>
<p>this method returns an instance of Ruby Array (which is closer to ArrayList than to Java arrays). Return is not necessary, and methods like select, collect, ad reject are cool</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael Ponte</title>
		<link>http://faces.eti.br/2008/03/16/creating-jsf-applications-with-jruby-and-activerecord-jdbc-part-2/comment-page-1/#comment-18244</link>
		<dc:creator>Rafael Ponte</dc:creator>
		<pubDate>Mon, 17 Mar 2008 14:37:59 +0000</pubDate>
		<guid isPermaLink="false">http://faces.eti.br/?p=95#comment-18244</guid>
		<description>Wow! Excelent Rogerio!

However, i still am thinking too hard to work this way. Maybe the integration between JSF and dynamic languages might become best soon.

Finally, continue writting posts like this, i believe that soon you will get a best solution to integrate JSF and JRuby.

Do you know to say if it released the materials of the JSFDay about JSF e dynamic languages?</description>
		<content:encoded><![CDATA[<p>Wow! Excelent Rogerio!</p>
<p>However, i still am thinking too hard to work this way. Maybe the integration between JSF and dynamic languages might become best soon.</p>
<p>Finally, continue writting posts like this, i believe that soon you will get a best solution to integrate JSF and JRuby.</p>
<p>Do you know to say if it released the materials of the JSFDay about JSF e dynamic languages?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
