<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Joe Walker - java.net tag</title>
  <link>http://directwebremoting.org/blog/joe/tags/java.net/</link>
  <description>Thoughts on Web Development</description>
  <language>en</language>
  <copyright>Joe Walker</copyright>
  <lastBuildDate>Wed, 23 Jul 2008 11:00:41 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>Using Google as a CVS repository browser</title>
    <link>http://directwebremoting.org/blog/joe/2006/10/05/using_google_as_a_cvs_repository_browser.html</link>
    
      
        <description>
          &lt;p&gt;Apparently the new &lt;a href=&#034;http://www.google.com/codesearch&#034;&gt;Google Code Search&lt;/a&gt; thingy can also be used as a repository browser. This is a screenshot of the DWR repository:&lt;/p&gt;

&lt;img src=&#034;http://getahead.ltd.uk/images/google-code-search.png&#034;/&gt;

&lt;p&gt;There are several options I know of for browsing open source repositories:&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;&lt;img align=&#034;right&#034; src=&#034;http://getahead.ltd.uk/images/jn-repo-browse.png&#034;/&gt;
Usually the hosting provider will have one. Both java.net (&lt;a href=&#034;https://dwr.dev.java.net/source/browse/dwr/&#034;&gt;DWR/java.net example&lt;/a&gt;) and Sourceforge (&lt;a href=&#034;http://dwr.cvs.sourceforge.net/dwr/dwr-spring/&#034;&gt;DWR/sf.net example&lt;/a&gt;) use &lt;a href=&#034;http://www.viewvc.org/&#034;&gt;ViewVC&lt;/a&gt;.
&lt;br/&gt;Both look poor in my opinion, are slow, don&#039;t give you anything but source view, but are totally up to date.&lt;/li&gt;

&lt;li&gt;Cenqua makes their excellent &lt;a href=&#034;http://fisheye5.cenqua.com/&#034;&gt;FishEye&lt;/a&gt; available to open source projects. Screenshots don&#039;t do it justice - see the &lt;a href=&#034;http://fisheye5.cenqua.com/viewrep/dwr&#034;&gt;DWR/Fisheye example&lt;/a&gt;.
&lt;br/&gt;It looks much nicer, gives you nice &#034;who-changed-it&#034; and &#034;how-is-it-growing&#034; type features, but it is a bit slow and lags CVS by a day or so.&lt;/li&gt;

&lt;li&gt;And now Google Code Search (&lt;a href=&#034;http://www.google.com/codesearch?q=show:-ZxYbZHB1nY:jEWV5wTgZ78&amp;sa=N&amp;ct=rdp&amp;cs_p=:pserver:guest%40cvs.dev.java.net:/cvs+dwr&#034;&gt;DWR /Google example&lt;/a&gt;).
&lt;br/&gt;I think it wasn&#039;t really designed for this use, so the URL is terrible and there&#039;s no index of projects (that I know of), but it is way quicker than the alternatives, and it doesn&#039;t look as bad as ViewVC.&lt;/li&gt;

&lt;/ul&gt;

        </description>
      
      
    
    
    
    <comments>http://directwebremoting.org/blog/joe/2006/10/05/using_google_as_a_cvs_repository_browser.html#comments</comments>
    <guid isPermaLink="true">http://directwebremoting.org/blog/joe/2006/10/05/using_google_as_a_cvs_repository_browser.html</guid>
    <pubDate>Thu, 05 Oct 2006 09:18:50 GMT</pubDate>
  </item>
  
  <item>
    <title>Google Code Hosting - First Thoughts</title>
    <link>http://directwebremoting.org/blog/joe/2006/07/28/google_code_hosting_first_thoughts.html</link>
    
      
        <description>
          &lt;a href=&#034;http://code.google.com/p/dwr/&#034;&gt;&lt;img src=&#034;http://getahead.ltd.uk/images/google_code_sm.png&#034; align=&#034;right&#034; style=&#034;margin:0px 10px&#034; border=&#034;0&#034;/&gt;&lt;/a&gt;

&lt;p&gt;I&#039;ve been unhappy with java.net for a while (they currently host some of DWR), so when I read about &lt;a href=&#034;http://code.google.com/hosting/&#034;&gt;Google Code Hosting&lt;/a&gt;, I thought I&#039;d take a look. Thoughts so far:&lt;/p&gt;

&lt;h3&gt;Project Naming&lt;/h3&gt;

&lt;p&gt;When I tried to create a project called DWR at Google Code, they checked for a project named DWR at Sourceforge (&lt;a href=&#034;http://sourceforge.net/projects/dwr&#034;&gt;it exists&lt;/a&gt; - I&#039;ve used it to host some child modules) and refused to create one without my permission (me here being the owner of the SF project). So once Google had asked me if it was OK if I created a project with the same name as one I created earlier, I was good to go.&lt;/p&gt;

&lt;pre style=&#034;border-left:4px dotted #eee; padding:4px 20px; margin:0px 10px;&#034;&gt;
Subject: Request for project &#034;dwr&#034; on code.google.com
From: codesite-noreply at google dot com
To: joe_fish at users dot sourceforge dot net

Hello,

You are getting this email because you are the owner of
the dwr open source project.

The following user has attempted to create a new project
with the same name to be hosted on code.google.com:
joseph.walker at gmail dot com

[SNIP ...]
&lt;/pre&gt;

&lt;p&gt;And then ...&lt;/p&gt;

&lt;img src=&#034;http://getahead.ltd.uk/images/google_approve.png&#034; style=&#034;margin:0px 10px&#034; border=&#034;0&#034;/&gt;

&lt;h3&gt;The bug tracker might actually be useful&lt;/h3&gt;

&lt;p&gt;One of my issues with java.net is their terrible issues system. I&#039;ve generally given up with it, and replaced it with a text file. You always know if your code isn&#039;t working well when your users prefer Notepad.&lt;/p&gt;

&lt;h3&gt;KISS&lt;/h3&gt;

&lt;p&gt;As usual, they&#039;ve got the &#039;keep it simple, stupid&#034; thing nailed. Look at the &lt;a href=&#034;http://code.google.com/p/dwr/&#034;&gt;Google DWR page&lt;/a&gt;, and compare it with &lt;a href=&#034;http://sourceforge.net/projects/dwr&#034;&gt;DWR at Sourceforge&lt;/a&gt;, or even &lt;a href=&#034;https://dwr.dev.java.net/&#034;&gt;DWR at Java.net&lt;/a&gt;. You could argue that the simplicity is because Google Code does not have important features (see below), but still a lot of the stuff that comes with java.net and sf.net is stuff &lt;a href=&#034;http://raibledesigns.com/page/rd/20050729&#034;&gt;you just want to get rid of&lt;/a&gt;. Why for example would anyone looking at the DWR page on java.net be interested in the release notes for CollabNet 3.5.1?&lt;/p&gt;

&lt;h3&gt;Project Checking&lt;/h3&gt;

&lt;p&gt;There appears to be no human checking on the projects at all. Both java.net and sf.net require a human to authorize projects before they start. I have to wonder, looking at the junk there is on both, why they bother though.&lt;/p&gt;

&lt;h3&gt;URLs&lt;/h3&gt;

&lt;p&gt;Both &lt;a href=&#034;http://www.almaer.com/blog/archives/001220.html&#034;&gt;Dion&lt;/a&gt; and &lt;a href=&#034;http://www.dehora.net/journal/2006/07/18fd0fefe7bbea0f77a443cfd95f9554_1.html&#034;&gt;Bill&lt;/a&gt; recently blogged about clean URLs, but what is that &lt;code&gt;/p/&lt;/code&gt; doing in &lt;a href=&#034;http://code.google.com/p/dwr/&#034; style=&#034;font-weight:normal;&#034;&gt;&lt;code&gt;http://code.google.com&lt;b&gt;/p/&lt;/b&gt;dwr/&lt;/code&gt;&lt;/a&gt;. Both Sourceforge (&lt;code&gt;dwr.sf.net&lt;/code&gt;) and Java.net (&lt;code&gt;dwr.dev.java.net&lt;/code&gt;) have better solutions to the URL issue.&lt;/p&gt;

&lt;h3&gt;Licences&lt;/h3&gt;

&lt;p&gt;The options are:&lt;/p&gt;
&lt;select size=&#034;7&#034;&gt;
&lt;option value=&#034;asf20&#034;&gt;&amp;nbsp;Apache License 2.0&lt;/option&gt;
&lt;option value=&#034;art&#034;&gt;&amp;nbsp;Artistic License/GPLv2&lt;/option&gt;
&lt;option value=&#034;gpl2&#034;&gt;&amp;nbsp;GNU General Public License 2.0&lt;/option&gt;
&lt;option value=&#034;lgpl&#034;&gt;&amp;nbsp;GNU Lesser Public License&lt;/option&gt;
&lt;option value=&#034;mit&#034;&gt;&amp;nbsp;MIT License&lt;/option&gt;
&lt;option value=&#034;mpl11&#034;&gt;&amp;nbsp;Mozilla Public License 1.1&lt;/option&gt;
&lt;option value=&#034;bsd&#034;&gt;&amp;nbsp;New BSD License&lt;/option&gt;
&lt;/select&gt; 
&lt;p&gt;So there are a lot of licences that you can&#039;t use, and you can&#039;t do any dual licencing either. And why is the Artistic licence only available with GPLv2?&lt;/p&gt;

&lt;h3&gt;Downloads&lt;/h3&gt;

&lt;p&gt;None. Eh? - Note to Google: Please when you add a downloads section, make it easier to use that the java.net or sourceforge ones. The upload system could be really simple - &#034;SCP to this folder, and it will appear here on the website&#034;. This would be a neat way to handle documentation too - I wonder if this system is open to any abuse that Google care about?&lt;/p&gt;

&lt;h3&gt;Motivation&lt;/h3&gt;

&lt;p&gt;I think that Sun are in Java.net to build community, which in turn helps Java, which helps Sun make money, albeit very indirectly. Collab.net are Java.net it to make money directly. They charge Sun and anyone else they think they can get money from - including open source projects. DWR would like to use SVN, but I can&#039;t afford the Collab.net upgrade fee.&lt;/p&gt;

&lt;p&gt;VA are in Sourceforge for the page-views which generate ad revenue&lt;/p&gt;

&lt;p&gt;But what about Google? Is Google Code Hosting purely altruistic?&lt;/p&gt;

&lt;p&gt;I think it&#039;s part of the whole &#039;evil&#039; thing. Google are building the worlds biggest database of personal information. They already know: who I know (Orkut, GMail) and where I am (Calendar), who my best friends are and what I talk to them about (GTalk) and all the websites I visit (Analytics, AdWords). They know what I&#039;m writing about (Writely, Spreadsheet, Blogger), and whenever my tin foil hat slips I become sure they are working on something to compete with &lt;a href=&#034;http://www.riya.com&#034;&gt;Riya&lt;/a&gt; which they&#039;ll plug into all the security cameras around the world so they can track me in real time (Maps, Earth (or is that Moon)).&lt;/p&gt;

&lt;p&gt;I think they need to convince people that they are not evil to save people worrying about the privacy implications of what they are doing. And Google Code is part of that.&lt;/p&gt;

&lt;h3&gt;Moving&lt;/h3&gt;

&lt;p&gt;So am I going to move? I&#039;d like to use Subversion because it understands file moving, which helps with refactoring. &lt;a href=&#034;http://www.lightbody.net/~plightbo/&#034;&gt;Patrick Lightbody&lt;/a&gt; has done some work Mavenizing DWR but it involves moving lots of files around. (I&#039;m not sure why, but that&#039;s another story).&lt;/p&gt;

&lt;p&gt;I&#039;d like a better bug system. Correction: Just a usable one would do.&lt;/p&gt;

&lt;p&gt;Maybe I&#039;ll end up with a real hotch-potch. google code for svn and bugs, java.net for downloads, sourceforge for sub-projects and Getahead for web hosting (Not even java.net lets me host servlets!).&lt;/p&gt;

&lt;p&gt;I&#039;ll be updating this blog entry as I learn more&lt;/p&gt;

        </description>
      
      
    
    
    
    <comments>http://directwebremoting.org/blog/joe/2006/07/28/google_code_hosting_first_thoughts.html#comments</comments>
    <guid isPermaLink="true">http://directwebremoting.org/blog/joe/2006/07/28/google_code_hosting_first_thoughts.html</guid>
    <pubDate>Fri, 28 Jul 2006 08:16:46 GMT</pubDate>
  </item>
  
  <item>
    <title>java.net on DWR</title>
    <link>http://directwebremoting.org/blog/joe/2005/08/25/java_net_on_dwr.html</link>
    
      
        <description>
          &lt;p&gt;&lt;a href=&#034;http://today.java.net&#034;&gt;java.net&lt;/a&gt; have just published a step-by-step tutorial on &lt;a href=&#034;http://today.java.net/pub/a/today/2005/08/25/dwr.html&#034;&gt;writing a web chat app&lt;/a&gt; using &lt;a href=&#034;http://getahead.ltd.uk/dwr/&#034;&gt;DWR&lt;/a&gt;.&lt;/p&gt;

&lt;img src=&#034;http://today.java.net/images/tiles/111-ajax.gif&#034; align=&#034;right&#034; style=&#034;padding:5px;&#034;&gt;

&lt;p&gt;The final result is a web-chat app, in about 100 lines of code - client and server. The point being how easy it is to get started with DWR.&lt;/p&gt;

&lt;p&gt;We could have gone into detail about using Scriptaculous for fancy effects, or created more server side features like one-to-one messages and so on. The point however is to demonstrate how easily DWR can take data in Java on the server and transparently turn it into Javascript arrays and lists and then put that data in the browser.&lt;/p&gt;

&lt;p&gt;Technorati tags:
&lt;a href=&#034;http://technorati.com/tag/DWR&#034; rel=&#034;tag&#034;&gt;DWR&lt;/a&gt;,
&lt;a href=&#034;http://technorati.com/tag/AJAX&#034; rel=&#034;tag&#034;&gt;AJAX&lt;/a&gt;
&lt;/p&gt;

        </description>
      
      
    
    
    
    <comments>http://directwebremoting.org/blog/joe/2005/08/25/java_net_on_dwr.html#comments</comments>
    <guid isPermaLink="true">http://directwebremoting.org/blog/joe/2005/08/25/java_net_on_dwr.html</guid>
    <pubDate>Thu, 25 Aug 2005 15:17:19 GMT</pubDate>
  </item>
  
  </channel>
</rss>
