<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>http://jpereira.eu - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-3069e155" type="application/json"/><link>http://jpereira.disqus.com/</link><description></description><atom:link href="http://jpereira.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 03 May 2012 11:49:58 -0000</lastBuildDate><item><title>Re: Quick introduction to REST and JAX-RS</title><link>http://jpereira.eu/2012/04/18/quick-introduction-to-rest-and-jax-rs/#comment-517733393</link><description>&lt;p&gt;RESTful web services or RESTful API? &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joaomrpereira</dc:creator><pubDate>Thu, 03 May 2012 11:49:58 -0000</pubDate></item><item><title>Re: Quick introduction to REST and JAX-RS</title><link>http://jpereira.eu/2012/04/18/quick-introduction-to-rest-and-jax-rs/#comment-513561901</link><description>&lt;p&gt;Thanks Tomasz. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joaomrpereira</dc:creator><pubDate>Sun, 29 Apr 2012 12:33:20 -0000</pubDate></item><item><title>Re: Quick introduction to REST and JAX-RS</title><link>http://jpereira.eu/2012/04/18/quick-introduction-to-rest-and-jax-rs/#comment-513388051</link><description>&lt;p&gt;Thanks for this presentation. Good and concise introdution to RESTful.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tomasz Dziurko</dc:creator><pubDate>Sun, 29 Apr 2012 05:35:37 -0000</pubDate></item><item><title>Re: Quick introduction to REST and JAX-RS</title><link>http://jpereira.eu/2012/04/18/quick-introduction-to-rest-and-jax-rs/#comment-502101365</link><description>&lt;p&gt;Yeah, Restlet project was one of the first frameworks on the stage for easing development of applications following the rest architectural style, in fact the guy behind restlet (Jerome?) is a member of the expert group for JSR 311. &lt;br&gt;Object mapping (Object &amp;lt;-&amp;gt; XML/JSON,...) may seem the most boring thing that is necessary, but with the libraries today and the abstractions that were built on top of those libraries, it's not that complicated... some frameworks can do this mapping automatically for you, and you don't even need to touch XML or JSON in your server code, or even be aware of that while coding your objects. Of course, if you have a complex object model and want to expose that complexity to the client, then... good luck :)What do you mean by REST functionality?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joaomrpereira</dc:creator><pubDate>Thu, 19 Apr 2012 06:33:00 -0000</pubDate></item><item><title>Re: Quick introduction to REST and JAX-RS</title><link>http://jpereira.eu/2012/04/18/quick-introduction-to-rest-and-jax-rs/#comment-501383486</link><description>&lt;p&gt;While recent versions of Java EE ease the development of Web-Services, the same doesn't happen with true REST applications. Working with XML and JSON is a pain in the ass if you don't use tools as Xstream and Gson but the real issue is with the REST functionality itself. I'd recommend you to take a lot at &lt;a href="http://restlet.org" rel="nofollow"&gt;restlet.org&lt;/a&gt;.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paulo Pires</dc:creator><pubDate>Wed, 18 Apr 2012 21:31:29 -0000</pubDate></item><item><title>Re: OO Design Principles, or guidelines&amp;#8230; part 1</title><link>http://jpereira.eu/2012/04/11/oo-design-principles-or-guidelines-part-1/#comment-495292740</link><description>&lt;p&gt;Excellent material! Congrats!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">CR</dc:creator><pubDate>Thu, 12 Apr 2012 06:03:24 -0000</pubDate></item><item><title>Re: The problem with Java Web development frameworks is&amp;#8230;</title><link>http://jpereira.eu/2011/02/08/the-problem-with-java-web-development-frameworks-is/#comment-485981033</link><description>&lt;p&gt;I like this post.This is well informative content.The written skill is so good.I appreciate to this one.This provide a good information about that how to connecting on a global level.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">seo agency</dc:creator><pubDate>Wed, 04 Apr 2012 09:04:01 -0000</pubDate></item><item><title>Re: Estudos de viabilidade, val, tir, payback e modelos de negócio</title><link>http://jpereira.eu/2009/06/20/estudos-de-viabilidade-val-tir-payback-e-modelos-de-negocio/#comment-448601498</link><description>&lt;p&gt;Obrigada pelo blog!&lt;/p&gt;

&lt;p&gt;Excelente ajuda, principalmente nestes temas técnicos nos quais sou completamente leiga!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rute</dc:creator><pubDate>Sat, 25 Feb 2012 08:17:51 -0000</pubDate></item><item><title>Re: Como seleccionar um projecto? Cálculo do VAL.</title><link>http://jpereira.eu/2008/07/29/como-seleccionar-um-projecto-calculo-do-val/#comment-434087363</link><description>&lt;p&gt;very good. muito boa a abordagem sobre o tema.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Elton correia</dc:creator><pubDate>Thu, 09 Feb 2012 11:13:09 -0000</pubDate></item><item><title>Re: The problem with Java Web development frameworks is&amp;#8230;</title><link>http://jpereira.eu/2011/02/08/the-problem-with-java-web-development-frameworks-is/#comment-371261197</link><description>&lt;p&gt;Java Web development frameworks is that there are too many. This is great.I am very impress to this one.Thanks to share this blog with us.Keep it up.I will keep share in future.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zena</dc:creator><pubDate>Wed, 23 Nov 2011 21:57:21 -0000</pubDate></item><item><title>Re: The problem with Java Web development frameworks is&amp;#8230;</title><link>http://jpereira.eu/2011/02/08/the-problem-with-java-web-development-frameworks-is/#comment-370739345</link><description>&lt;p&gt;I agree with you. Thanks for sharing. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anna Harris</dc:creator><pubDate>Wed, 23 Nov 2011 07:12:04 -0000</pubDate></item><item><title>Re: About</title><link>http://jpereira.eu/about/#comment-314534186</link><description>&lt;p&gt;&lt;br&gt;  Thank for checking&lt;br&gt;  us out and we are glad that you find us useful to your site :)&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Absorbent Coasters</dc:creator><pubDate>Sun, 18 Sep 2011 17:22:15 -0000</pubDate></item><item><title>Re: The problem with Java Web development frameworks is&amp;#8230;</title><link>http://jpereira.eu/2011/02/08/the-problem-with-java-web-development-frameworks-is/#comment-304945100</link><description>&lt;p&gt;I know a little bit about it actually. And i think your right with everything that you said. Thanks writing this article.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Philippines Outsourcing</dc:creator><pubDate>Thu, 08 Sep 2011 09:42:40 -0000</pubDate></item><item><title>Re: Getting Rails 3.0.3 running with Mysql</title><link>http://jpereira.eu/2011/02/05/getting-rails-3-0-3-running-with-mysql/#comment-272686395</link><description>&lt;p&gt;&lt;br&gt;  Excellent!&lt;br&gt;  Great article, I already saved it to my favourite,&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pool_installation</dc:creator><pubDate>Mon, 01 Aug 2011 08:46:20 -0000</pubDate></item><item><title>Re: About</title><link>http://jpereira.eu/about/#comment-272071587</link><description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I have been trying to get in touch with you for an update regarding our business proposal. I have not had much luck, so unless I hear otherwise.&lt;br&gt;Or perhaps that my emails might have been caught by any spam filters.&lt;/p&gt;

&lt;p&gt;Please let me know if you have any concerns or general feedback regarding our proposal or business sponsorships.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br&gt;Jason&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Nash</dc:creator><pubDate>Mon, 01 Aug 2011 02:10:27 -0000</pubDate></item><item><title>Re: Como seleccionar um projecto? Cálculo do VAL.</title><link>http://jpereira.eu/2008/07/29/como-seleccionar-um-projecto-calculo-do-val/#comment-259236569</link><description>&lt;p&gt;Interessante e reavivou-me os conhecimentos...obrigado!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fb Represents</dc:creator><pubDate>Wed, 20 Jul 2011 18:58:48 -0000</pubDate></item><item><title>Re: Getting Rails 3.0.3 running with Mysql</title><link>http://jpereira.eu/2011/02/05/getting-rails-3-0-3-running-with-mysql/#comment-231113279</link><description>&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;  I'm so love this blog, already bookmarked it! Thanks.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pool Installation</dc:creator><pubDate>Tue, 21 Jun 2011 11:31:09 -0000</pubDate></item><item><title>Re: Hacking a Rails controller and template inheritance strategy</title><link>http://jpereira.eu/2011/02/15/hacking-a-rails-controller-and-template-inheritance-strategy/#comment-177069656</link><description>&lt;p&gt;This is a great way to decide which type of class to instantiate.  I had found an additional method using something like this ' @structure = params[:type].constantize.new'&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jamescway</dc:creator><pubDate>Sat, 02 Apr 2011 18:04:08 -0000</pubDate></item><item><title>Re: Where’s my Java reflection?, Part II</title><link>http://jpereira.eu/2011/01/30/where%e2%80%99s-my-java-reflection-part-ii/#comment-141402864</link><description>&lt;p&gt;Hi Cesar, how're doing?&lt;/p&gt;

&lt;p&gt;I like it and generally reflection is used to implement some kind of framework code, i.e., you build a framework to do validations for example, then you'll expose it though an API to the world and they don't even know that the API was implemented with reflection... now, if you ever see reflection being used directly  in you business logic, well....&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joaomrpereira</dc:creator><pubDate>Sat, 05 Feb 2011 17:35:03 -0000</pubDate></item><item><title>Re: Where’s my Java reflection?, Part II</title><link>http://jpereira.eu/2011/01/30/where%e2%80%99s-my-java-reflection-part-ii/#comment-141396916</link><description>&lt;p&gt;Hi Joao :)&lt;/p&gt;

&lt;p&gt;From languages that I've already did some stuff, Java is undoubtedly the easiest and expressive API (mostly), but in the particular case of reflection I can't share the same opinion. It is a very powerful and useful mechanism, but the way how is exposed is awful. It turns out that, to make generic and clean code using reflection we break the most important rule in programming, readability.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cesar Alvernaz</dc:creator><pubDate>Sat, 05 Feb 2011 17:17:40 -0000</pubDate></item><item><title>Re: Organizar as minhas feeds</title><link>http://jpereira.eu/2009/03/18/organizar-as-minhas-feeds/#comment-139114312</link><description>&lt;p&gt;É uma boa.. eu estava organizando tipo&lt;br&gt;Design: Inspiração&lt;br&gt;Design: Marcas&lt;br&gt;Design: Gráfico&lt;br&gt;Webdesign: Inspiração&lt;br&gt;Fotografia: Casamento&lt;br&gt;Fotografia: Criaças&lt;br&gt;Programação: PHP&lt;br&gt;Programação: Wordpress&lt;/p&gt;

&lt;p&gt;Mas já tem tanta coisa que to perdido&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marcio Toledo</dc:creator><pubDate>Wed, 02 Feb 2011 20:00:19 -0000</pubDate></item><item><title>Re: Where&amp;#8217;s my Java reflection?</title><link>http://jpereira.eu/2011/01/30/wheres-my-java-reflection/#comment-137404946</link><description>&lt;p&gt;...and you'll soon (GWT 2.3 ?) be able to use a setConstraintViolations() on the SimpleBeanEditorDriver and take advantage of the HasEditorErrors.&lt;/p&gt;

&lt;p&gt;That being said, maybe you should extend the AbstractEditorDriverGenerator (or maybe you could extend the SimpleBeanEditorDriverGenerator) to do you own setErrors on a XxxEditorGenerator of your own (or one that extends SimpleBeanEditorDriver)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thomas Broyer</dc:creator><pubDate>Sun, 30 Jan 2011 17:11:20 -0000</pubDate></item><item><title>Re: Where&amp;#8217;s my Java reflection?</title><link>http://jpereira.eu/2011/01/30/wheres-my-java-reflection/#comment-137333034</link><description>&lt;p&gt;Thanks Colin for the tip.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joaomrpereira</dc:creator><pubDate>Sun, 30 Jan 2011 14:52:40 -0000</pubDate></item><item><title>Re: Where&amp;#8217;s my Java reflection?</title><link>http://jpereira.eu/2011/01/30/wheres-my-java-reflection/#comment-137330891</link><description>&lt;p&gt;Nice - I would suggest looking into the print(String, Object...) overloads on SourceWriter to make your code a little easier to read/write. Additionally, using SourceWriter.indent(), SourceWriter.outdent() and println instead of print can make the generated code easier to read and debug. Line 83 to 87 could look like this:&lt;br&gt;&lt;/p&gt;&lt;pre&gt;sourceWriter.println("public void bindErrors(%s errorable, Map&amp;lt;String, List&amp;lt;String&amp;gt;&amp;gt; errors) {", parameterizedType.getQualifiedSourceName());&lt;br&gt;sourceWriter.indent();&lt;br&gt;sourceWriter.println("System.out.println(\"Implement it now: \")");&lt;br&gt;sourceWriter.outdent();&lt;br&gt;sourceWriter.println("}");&lt;br&gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;

&lt;p&gt;Edited for generics/tags&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Colin Alworth</dc:creator><pubDate>Sun, 30 Jan 2011 14:47:49 -0000</pubDate></item><item><title>Re: One line of code paranoia</title><link>http://jpereira.eu/2010/11/12/one-line-of-code-paranoia/#comment-96884807</link><description>&lt;p&gt;However, the new initialization block defined like this will run after the constructor, not before the constructor as other initialization blocks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joaomrpereira</dc:creator><pubDate>Sat, 13 Nov 2010 11:01:08 -0000</pubDate></item></channel></rss>
