<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>JavaGeek.org - Java category</title>
  <link>http://javageek.org/categories/java/</link>
  <description>For the love of Java</description>
  <language>en</language>
  <copyright>Guillermo Castro</copyright>
  <lastBuildDate>Mon, 27 Apr 2009 22:05:14 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>5 Days of Wicket - Designing the backend</title>
    <link>http://www.mysticcoders.com/blog/2009/03/11/5-days-of-wicket-day-designing-the-backend/</link>
    
      
        <description>
          &lt;p&gt;
&lt;i&gt;&lt;a href=&#034;http://www.mysticcoders.com/blog/2009/03/11/5-days-of-wicket-day-designing-the-backend/&#034;&gt;5 Days of Wicket - Designing the backend&lt;/a&gt;&lt;/i&gt; is an article written by yours truly as part of a series of articles geared towards the better understanding of how to create a web application using &lt;a href=&#034;http://wicket.apache.org/&#034;&gt;Apache Wicket&lt;/a&gt;. Enjoy.
&lt;/p&gt;
&lt;p&gt;
(You can read a short introduction to the series of the articles and links to the rest of them &lt;a href=&#034;http://www.mysticcoders.com/blog/2009/03/09/5-days-of-wicket/&#034;&gt;here&lt;/a&gt;)
&lt;/p&gt;&lt;p&gt;&lt;a href=&#034;http://www.mysticcoders.com/blog/2009/03/11/5-days-of-wicket-day-designing-the-backend/&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
&lt;!--
&lt;rdf:RDF xmlns:rdf=&#034;http://www.w3.org/1999/02/22-rdf-syntax-ns#&#034;
         xmlns:dc=&#034;http://purl.org/dc/elements/1.1/&#034;
         xmlns:trackback=&#034;http://madskills.com/public/xml/rss/module/trackback/&#034;&gt;
&lt;rdf:Description
    rdf:about=&#034;http://javageek.org/2009/03/11/5_days_of_wicket_designing_the_backend.html&#034;
    dc:identifier=&#034;http://javageek.org/2009/03/11/5_days_of_wicket_designing_the_backend.html&#034;
    dc:title=&#034;5 Days of Wicket - Designing the backend&#034;
    trackback:ping=&#034;http://javageek.org/addTrackBack.action?entry=1236788020238&amp;token=3242910543301632673&#034; /&gt;
&lt;/rdf:RDF&gt;
--&gt;
        </description>
      
      
    
    
    
    <category>Wicket</category>
    
    <category>Tips</category>
    
    <comments>http://javageek.org/2009/03/11/5_days_of_wicket_designing_the_backend.html#comments</comments>
    <guid isPermaLink="true">http://www.mysticcoders.com/blog/2009/03/11/5-days-of-wicket-day-designing-the-backend/</guid>
    <pubDate>Wed, 11 Mar 2009 16:13:40 GMT</pubDate>
  </item>
  
  <item>
    <title>Why not having Flash on the iPhone is a good thing</title>
    <link>http://javageek.org/2008/12/15/why_not_having_flash_on_the_iphone_is_a_good_thing.html</link>
    
      
        <description>
          The other day I was trying to look at some site from my iphone but alas, the site was crawling with Flash embedded objects (from menu navigation to actual site content). At first I became frustrated that the iPhone didn&#039;t support &lt;a href=&#034;http://www.adobe.com/products/flash/&#034;&gt;Adobe Flash&lt;/a&gt; embedded objects, but then I started thinking further, and I realized that I&#039;ve never really liked flash-based sites.&lt;br /&gt;
&lt;br /&gt;
I don&#039;t want to start a flamewar between those who are in favor of having flash objects on their sites and does who despise the use of flash on them (including &lt;a href=&#034;http://www.seoresearcher.com/seo-flash-is-evil-five-big-reasons-not-to-use-flash.htm&#034;&gt;SEO people&lt;/a&gt;), but to me building a site in flash that disables the back button, puts a big and unneeded intro and puts all the information inside the embedded object is simply a poor way of creating a website; and this is not flash&#039;s problem, but the developer&#039;s who go for pretty instead of functional. I do have a question, though... Are flash-based sites accessibility friendly?&lt;br /&gt;
&lt;br /&gt;
But as more and more iPhones are sold and used to browse the web, more people will start complaining, and hopefully site owners will start listening and start converting all those sites into something that can be read by everyone. And as more and more devices start appearing, more site designers will realize that html, although basic and plain, can be made functional to work on all or most of these devices with the help of CSS and/or other html-related abilities.&lt;br /&gt;
&lt;br /&gt;
So, I am really glad that iPhones don&#039;t support Flash. Heck, I can even say I&#039;m glad it doesn&#039;t support applets either (although I wish I could program iPhone apps in Java), as long as it will make people create &amp;quot;normal&amp;quot; sites.
&lt;!--
&lt;rdf:RDF xmlns:rdf=&#034;http://www.w3.org/1999/02/22-rdf-syntax-ns#&#034;
         xmlns:dc=&#034;http://purl.org/dc/elements/1.1/&#034;
         xmlns:trackback=&#034;http://madskills.com/public/xml/rss/module/trackback/&#034;&gt;
&lt;rdf:Description
    rdf:about=&#034;http://javageek.org/2008/12/15/why_not_having_flash_on_the_iphone_is_a_good_thing.html&#034;
    dc:identifier=&#034;http://javageek.org/2008/12/15/why_not_having_flash_on_the_iphone_is_a_good_thing.html&#034;
    dc:title=&#034;Why not having Flash on the iPhone is a good thing&#034;
    trackback:ping=&#034;http://javageek.org/addTrackBack.action?entry=1229382420000&amp;token=-6704202926965932137&#034; /&gt;
&lt;/rdf:RDF&gt;
--&gt;
        </description>
      
      
    
    
    
    <category>Java</category>
    
    <category>Apple</category>
    
    <comments>http://javageek.org/2008/12/15/why_not_having_flash_on_the_iphone_is_a_good_thing.html#comments</comments>
    <guid isPermaLink="true">http://javageek.org/2008/12/15/why_not_having_flash_on_the_iphone_is_a_good_thing.html</guid>
    <pubDate>Mon, 15 Dec 2008 23:07:00 GMT</pubDate>
  </item>
  
  <item>
    <title>Switching to IDEA, another tale</title>
    <link>http://javageek.org/2008/11/27/switching_to_idea_another_tale.html</link>
    
      
        <description>
          And since we&#039;re talking about switching stuff, another thing that I recently changed is the IDE I&#039;m using on a day by day basis. I have been a long time &lt;a href=&#034;http://www.eclipse.org/&#034;&gt;Eclipse&lt;/a&gt; user, and I still think it is a great IDE, specially for the price (you can&#039;t beat free, can you?). It is stable enough, works on different platforms (although the Linux version has always been less stable than the others, in my opinion) and provides you with a very complete platform to develop enterprise, web, desktop and mobile applications.&lt;br /&gt;
&lt;br /&gt;
But I&#039;ve always heard people talk wonders about &lt;a href=&#034;http://www.jetbrains.com/idea/index.html&#034;&gt;IntelliJ IDEA&lt;/a&gt;. In fact, if you ask the resident bot at &lt;a href=&#034;http://freenode.net/&#034;&gt;freenode&lt;/a&gt;&#039;s &lt;a href=&#034;irc://freenode.net/java&#034;&gt;##java IRC channel&lt;/a&gt; about &amp;quot;IDEA FAQ&amp;quot;, the response will be &amp;quot;Yes, IDEA can do that.&amp;quot;. I had already tried IDEA back when it was at version 5 or 6, and I found it too different to Eclipse at the time, and since I was in the middle of a project in which the whole team used Eclipse, I didn&#039;t had the time or wanted to go into the effort of switching. But now I&#039;m in a different team, and many of my co-workers there use IDEA (some use Eclipse too), so I thought this was the best time to try it out again, since I&#039;d always have people to rely on for questions. That&#039;s always a good idea when trying something new, you know. It&#039;s like learning how to drive, it&#039;s better to have an instructor.&lt;br /&gt;
&lt;br /&gt;
So, after the initial shock I must say I&#039;m pretty impressed with the tool. It is definitely a different experience from Eclipse, in that I think IDEA puts much more emphasis on the editor window. Eclipse seems to be more focused on the perspectives, while IDEA concentrates on having the editors always there. And coding is all about editors, isn&#039;t it?&lt;br /&gt;
&lt;br /&gt;
So far, the best feature I like about IDEA is their inspection profiles. It is basically a set of rules that you can enable/disable and configure so that they provide you with hints about things that you are doing wrong. &lt;br /&gt;
&lt;br /&gt;
For example, I like to surround all my &lt;em&gt;debug()&lt;/em&gt; and &lt;em&gt;trace()&lt;/em&gt; statements with an &lt;em&gt;if()&lt;/em&gt; to check if the log level is enabled. IDEA comes with a &amp;quot;Logging Issues&amp;quot; inspection for &amp;quot;Log statements not guarded by log condition&amp;quot; to mark instances that don&#039;t follow this rule. And not only that, you can configure the &amp;quot;severity&amp;quot; of the issue (do you want it to be marked as a warning or an error? I have it as error). And, if you happen to use a different logging mechanism than &lt;em&gt;java.util.Logging&lt;/em&gt; (like we do, since we&#039;re using &lt;a href=&#034;http://www.slf4j.org/&#034;&gt;slf4j&lt;/a&gt;), you can configure the Logger class and log conditions that need to be present. And this is only one small issue among the many that are available to IDEA, and there are always plugins that add inspections for other stuff (like javadoc compliance, wicket stuff, etc). This is the feature that so far has sold me on using IDEA (besides the focus on editing). I still have to try doing remote debugging on it, but I hear it works fine.&lt;br /&gt;
&lt;br /&gt;
I think &lt;a href=&#034;http://www.netbeans.org/&#034;&gt;Netbeans&lt;/a&gt; has something similar to IDEA&#039;s inspections, but I can only handle one IDE switch per month.
&lt;!--
&lt;rdf:RDF xmlns:rdf=&#034;http://www.w3.org/1999/02/22-rdf-syntax-ns#&#034;
         xmlns:dc=&#034;http://purl.org/dc/elements/1.1/&#034;
         xmlns:trackback=&#034;http://madskills.com/public/xml/rss/module/trackback/&#034;&gt;
&lt;rdf:Description
    rdf:about=&#034;http://javageek.org/2008/11/27/switching_to_idea_another_tale.html&#034;
    dc:identifier=&#034;http://javageek.org/2008/11/27/switching_to_idea_another_tale.html&#034;
    dc:title=&#034;Switching to IDEA, another tale&#034;
    trackback:ping=&#034;http://javageek.org/addTrackBack.action?entry=1227805860000&amp;token=-5472307225765427883&#034; /&gt;
&lt;/rdf:RDF&gt;
--&gt;
        </description>
      
      
    
    
    
    <category>IDE</category>
    
    <comments>http://javageek.org/2008/11/27/switching_to_idea_another_tale.html#comments</comments>
    <guid isPermaLink="true">http://javageek.org/2008/11/27/switching_to_idea_another_tale.html</guid>
    <pubDate>Thu, 27 Nov 2008 17:11:00 GMT</pubDate>
  </item>
  
  </channel>
</rss>
