<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
    <channel>
        <title>JavaRanch: Cattle Drive (java college)</title>
        <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&amp;f=19</link>
        <description>A Friendly Place for Java Greenhorns</description>
        <image>
            <url>http://saloon.javaranch.com/ubb/moosefly.gif</url>
            <title>JavaRanch Big Moose Saloon</title>
            <link>http://saloon.javaranch.com/</link>
        </image>
        <language>en-us</language>
        <generator>JavaRanch RSS</generator>
        <copyright>Copyright 2007 Paul Wheaton. All Rights Reserved.</copyright>
        <item uniqueID="19-001961">
            <title>help understanding Calendar constructor vs method</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001961</link>
            <description>I'm looking at the Calendar class and am a bit confused about the difference and use of the constructor Calendar() and the method getInstance() in the same class. &lt;br /&gt; &lt;br /&gt;The constructor says "CONSTRUCTS a Calendar with the default time zone and locale."&lt;br /&gt; &lt;br /&gt;The method says "GETS a calendar using the default time zone and locale." and returns a calendar object.&lt;br /&gt; &lt;br /&gt;This seems very weird to me. Don't these do the same thing? I'm wondering if perhaps you are not allowed to invoke the constructor of this class. If so, why would that be the case?&lt;br /&gt; &lt;br /&gt;The example given in the API shows ...&lt;br /&gt; &lt;br /&gt;Calendar rightNow = Calendar.getInstance();&lt;br /&gt; &lt;br /&gt;I would have expected something like ...&lt;br /&gt; &lt;br /&gt;Cal...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001961</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001961Daniel Loranz</comments>
            <author/>
            <pubDate>Sat, 5 Jul 2008 14:18:25 MDT</pubDate>
        </item>
        <item uniqueID="19-001960">
            <title>JDBC Frustration</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001960</link>
            <description>I copied the files from my 98 system to my XP system for JDBC 2a.&lt;br /&gt;For some reason, everything works fine on my 98 system, but I can't get past the login page on XP. And I can't find what is causing the problem!&lt;br /&gt;After trying to login using javaranch as the password, I get a blank page.&lt;br /&gt;Irritating.&lt;br /&gt;Going to go drink some beer.&lt;br /&gt;Happy 4th!&lt;br /&gt; </description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001960</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001960Carol Murphy</comments>
            <author/>
            <pubDate>Fri, 4 Jul 2008 15:10:23 MDT</pubDate>
        </item>
        <item uniqueID="19-001959">
            <title>Java-1b approved, now onto Java-2</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001959</link>
            <description>Katrina OK'ed my Java-1b. I've now sent in Java-2.&lt;br /&gt; &lt;br /&gt;Cheers!</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001959</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001959Daniel Loranz</comments>
            <author/>
            <pubDate>Tue, 1 Jul 2008 22:51:03 MDT</pubDate>
        </item>
        <item uniqueID="19-001958">
            <title>JDBC tuning up</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001958</link>
            <description>I'm finally getting the JDBC assignments transferred over to WindowsXP from Windows98, and in the process, also managed to install the jre1.6.0_05. So when I tried to do the ffbuild, I got a complaint that tools.jar was missing. Took care of that. Now on the second try, I get a complaint that db.driver.jar must be defined, preferably in config/Owner.properties. So I check javaranch.com/props, and it says I can define my build propeties in one 3 places. I have mine in my home directory, but I would like to do the preferred method. So, 2 questions:&lt;br /&gt; &lt;br /&gt; 1) The userid would be the userid I use to logon to Windows? &lt;br /&gt; (which I don't use, so I'm not sure what it is.......)&lt;br /&gt; 2) The content of my build.properties...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001958</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001958Carol Murphy</comments>
            <author/>
            <pubDate>Tue, 1 Jul 2008 12:11:02 MDT</pubDate>
        </item>
        <item uniqueID="19-001957">
            <title>help understanding Java-7(Sum)</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001957</link>
            <description>Not sure how to ask this without giving too much away. In Java-7, no statement of the precision required is given. I think this means I should do my equivalence check assuming infinite precision. Is that correct? (Hope I'm not saying too much.)&lt;br /&gt; &lt;br /&gt;Thanks very much.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001957</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001957Daniel Loranz</comments>
            <author/>
            <pubDate>Sun, 29 Jun 2008 14:26:55 MDT</pubDate>
        </item>
        <item uniqueID="19-001956">
            <title>help with nitpick in Java-1b</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001956</link>
            <description>In Java-1b, I ...&lt;br /&gt; &lt;br /&gt;1 - use a loop to fill a string with a full row of the input name.&lt;br /&gt;2 - use a loop to write all the full rows out&lt;br /&gt;3 - write the last partial row, if needed.&lt;br /&gt; &lt;br /&gt;Katrina recommended ...&lt;br /&gt;"How about a single loop which counts to 100, printing the name each time?&lt;br /&gt;You can use your namesPerRow variable to decide whether or not you&lt;br /&gt;need to put in a linebreak."&lt;br /&gt; &lt;br /&gt;Which I am interpreting as suggesting I use an if-then check inside a single "count-to-100" loop. Would folks agree I'm interpreting this nitpick correctly? If so, I can certainly do that, but I'm lost as to the reason such an approach would be better. Any thoughts??&lt;br /&gt; &lt;br /&gt;Thanks very much!&lt;br /&gt; &lt;br /&gt;PS - Is...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001956</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001956Daniel Loranz</comments>
            <author/>
            <pubDate>Sat, 28 Jun 2008 22:08:53 MDT</pubDate>
        </item>
        <item uniqueID="19-001955">
            <title>understanding array declarations</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001955</link>
            <description>int i; // I think "get i ready to hold int values"&lt;br /&gt;String s; //I think "get s ready to hold a reference to a string object"&lt;br /&gt; &lt;br /&gt;int myArray []; // how should I read this?&lt;br /&gt; &lt;br /&gt;Declaring an array almost feels like there are two distinct declarations happening. I think I'm getting stuck on wanting to first see something like ... &lt;br /&gt; &lt;br /&gt;Array myArray;&lt;br /&gt; &lt;br /&gt;and then declaring what the elements of the array will be. In fact, why do I need to declare the elements at all?&lt;br /&gt; &lt;br /&gt;Thanks very much!</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001955</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001955Daniel Loranz</comments>
            <author/>
            <pubDate>Wed, 25 Jun 2008 16:40:43 MDT</pubDate>
        </item>
        <item uniqueID="19-001954">
            <title>best approach for getting feedback on nitpicks?</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001954</link>
            <description>Hi All -&lt;br /&gt; &lt;br /&gt;I'm just starting the Cattle Drive and got my first nitpicks back. I would like to get a little more info about the nitpicks. Would it be better for me to post questions to nitpicks here, or to hit reply in my email?&lt;br /&gt; &lt;br /&gt;Thanks.&lt;br /&gt;- Dan</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001954</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001954Daniel Loranz</comments>
            <author/>
            <pubDate>Tue, 24 Jun 2008 23:56:41 MDT</pubDate>
        </item>
        <item uniqueID="19-001953">
            <title>Assignment 4b</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001953</link>
            <description>Hello all,&lt;br /&gt; &lt;br /&gt;I have spent a fair amount of time on this assignment. I've probably not done it in the method that will be accepted by the nitpickers as I have StringBuffers and substrings all over the place. However it works......all except for 100, 1000, 10000, 100000 etc&lt;br /&gt; &lt;br /&gt;I print out stuff like "one thousand zero hundred" etc&lt;br /&gt; &lt;br /&gt;I thouught I would be easily able to solve this last part but I guess my brain is beginning to shut down. Can anybody offer any guidance please? before I start trying to insert my keyboard into my ear </description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001953</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001953Sam Jackson</comments>
            <author/>
            <pubDate>Tue, 24 Jun 2008 12:06:39 MDT</pubDate>
        </item>
        <item uniqueID="19-001952">
            <title>Subset of Cubes</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001952</link>
            <description>&lt;blockquote&gt;quote:&lt;hr&gt;Write an algorithm, using pseudo code, to perform one of the following tasks, and post it to the class folder by day 4. Then, choose one algorithm that was created and posted by another student to solve the same problem, and analyze the differences between the effectiveness of the two algorithms. Post the result of the analysis, and improvements to your algorithm by day 6 of the seminar. Be creative, and have fun!&lt;br /&gt;Given a string of numbers, identify all of the substrings that form numbers that are divisible by 3. For example, applying the algorithm on the string 37540 should produce the following substrings (not necessarily in this order): 0; 3; 75; 54; 375; 540 &lt;br /&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;I was pm'd about...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001952</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001952Donald R. Cossitt</comments>
            <author/>
            <pubDate>Sat, 21 Jun 2008 08:46:30 MDT</pubDate>
        </item>
        <item uniqueID="19-001951">
            <title>Just found JavaRanch</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001951</link>
            <description>I just stumbled across JavaRanch and am interested in the Cattle Drive. The site mentions getting "Just Java 2" by Peter van der Linden. Is that info current? Are most folks working through the Cattle Drive using that book?&lt;br /&gt; &lt;br /&gt;Thanks!</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001951</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001951Daniel Loranz</comments>
            <author/>
            <pubDate>Tue, 17 Jun 2008 23:14:20 MDT</pubDate>
        </item>
        <item uniqueID="19-001950">
            <title>Just wanted to say Howdy</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001950</link>
            <description>Hi &lt;br /&gt; &lt;br /&gt;I have been away from the trail for a while now, I have been settling in to my new job.&lt;br /&gt; &lt;br /&gt;But I have now set aside some time for study, so you will probably be hearing a lot from me over the next few weeks.&lt;br /&gt; &lt;br /&gt;After all, I could be using some of this stuff for real any day now.&lt;br /&gt; &lt;br /&gt;Good to see new names on the assignment log,&lt;br /&gt; &lt;br /&gt;Cheers </description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001950</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001950Rory Lynch</comments>
            <author/>
            <pubDate>Tue, 17 Jun 2008 04:06:18 MDT</pubDate>
        </item>
        <item uniqueID="19-001949">
            <title>bolo on fred's moose</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001949</link>
            <description>Gee, fred, I wonder what happened to your Moose? Roberts may still be at the virtual taxidermist, but yours should be there by now. Ubless it sneaked out to the watering hole!&lt;br /&gt;Everyone BOLO for fred's moose!&lt;br /&gt;And congratulations to you as well! </description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001949</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001949Carol Murphy</comments>
            <author/>
            <pubDate>Fri, 13 Jun 2008 14:56:07 MDT</pubDate>
        </item>
        <item uniqueID="19-001948">
            <title>JDBC ....hmmmm</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001948</link>
            <description>Thought I'd done this, but I guess I dreamed it.&lt;br /&gt;I'm getting geared up to tackle JDBC, and I've gotten far enough to view my table in the dos window after compiling Test.java.&lt;br /&gt;I followed the instructions for TestServlet.java, but I get the generic page not available screen.&lt;br /&gt;TestServlet.java is in the same directory as Test.java. The class file is in orion\default-web-app\WEB-INF\classes, and I copied the mysql-connector-java-5.1.5-bin.jar file into orion\lib&lt;br /&gt;I'm thinking either one of my files is in the wrong directory, or could it be that since Windows XP put both orion and my java development directory inside C:\Program Files while mysql and mysql-connector-java and directly off of C:\ I might need to change some path ...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001948</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001948Carol Murphy</comments>
            <author/>
            <pubDate>Fri, 13 Jun 2008 12:26:07 MDT</pubDate>
        </item>
        <item uniqueID="19-001947">
            <title>Robert Richardson's got hisself a moose!</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001947</link>
            <description>Congrats on yer first!&lt;br /&gt; </description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001947</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001947Carol Murphy</comments>
            <author/>
            <pubDate>Fri, 13 Jun 2008 10:58:07 MDT</pubDate>
        </item>
        <item uniqueID="19-001946">
            <title>Blocked again</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001946</link>
            <description>----- The following addresses had permanent fatal errors -----&lt;br /&gt;&lt;marilyn@javaranch.com&gt;&lt;br /&gt; (reason: 554 IMTA08.emeryville.ca.mail.comcast.net comcast 66.114.98.26 Comcast BL004 Blocked for spam. Please see http://www.comcast.net/help/faq/index.jsp?faq=SecurityMail_Policy18628) (http://www.comcast.net/help/faq/index.jsp?faq=SecurityMail_Policy18628%29)&lt;br /&gt; &lt;br /&gt; ----- Transcript of session follows -----&lt;br /&gt;... while talking to mx1.comcast.net.:&lt;br /&gt;&lt;&lt;&lt; 554 IMTA04.westchester.pa.mail.comcast.net comcast 66.114.98.26 Comcast BL004 Blocked for spam. Please see http://www.comcast.net/help/faq/index.jsp?faq=SecurityMail_Policy18628 (http://www.comcast.net/help/faq/index.jsp?faq=SecurityMail_Policy18628)&lt;br /&gt;... while talking to...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001946</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=19&amp;t=001946John Abong</comments>
            <author/>
            <pubDate>Mon, 9 Jun 2008 08:19:53 MDT</pubDate>
        </item>
    </channel>
</rss>
