wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Where Would You Start? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Where Would You Start?" Watch "Where Would You Start?" New topic
Author

Where Would You Start?

Paul De
Greenhorn

Joined: Oct 01, 2005
Posts: 3
I know a little Java. I've written HelloWorld.java more times than I care to admit. I've written small multiclass apps that use Java's Math.random(?-- I think this is right, it's been a while) to simulate rolls of multiple dice with variable numbers of sides. So I know a little.

I can tell you immediately what hurdles I have trouble with. The first is arrays. Sometimes I just have issues with the things. Second, is the API. The thing is freakin' huge, and I don't know what it contains, so I don't often know if I'm reinventing the wheel or not.

(I haven't even moved on to more complex issues like threading, yet.)

What resources (book, websites, etc.) would you recommend? And if you recommend the API docs at Sun to me, where would be the best place to start?

(And if I sound like a total newbie to you, you ain't far from the truth.)

Thanks in advance,

Paul
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

What website would we recommend...you're a funny guy.

Have you considered looking into our Cattle Drive? Not only do you have some sample labs you can do, you have JavaRanch people 'nitpicking' your code to help along the way.

If you get stuck on a lab? Post the question in the forum. That's what it's for.

And good luck to you.


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
Paul De
Greenhorn

Joined: Oct 01, 2005
Posts: 3
Thank you, Michael.

Will I need the Just Java book, or will I be able to keep up without it?

Also, I have the newest Java SDK. Will this interfere with programs in the Cattle Drive?
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

The Just Java is sooooo very much a worthwhile purchase. Look at Amazon Marketplace if you need a bargain price. But do get a copy. I'd send you mine if I hadn't already given it away.

Nothing in the Cattle Drive is JDK-version specific, if memory serves. You should be fine with just about any version for the first few exercises.
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
I agree that a book like Just Java is worth the investment. I've also heard that Head First Java by Kathy Sierra and Bert Bates is good, but I haven't looked at it myself.

Also, don't worry about reinventing the wheel. It is often a good learning exercise to do so. However, once you learn about a specific tool that is available in the API, then USE IT. There are many reasons to do so. One is that the API was written and tested by experts. There are very few bugs in the API, so it will work as expected. Can you say the same about code you write yourself? If you spend enough time testing it you should be able to, but that means more time spent on testing utilities rather than working on the main portion of the program you want to write.

So what I'm trying to say is that you shouldn't be daunted by the size of the API. I doubt anyone knows everything that is available. Just learn pieces of it as you go and use what you have learned. Occassionally browse through the API docs so you can get a feel for what is available.

HTH

Layne


Java API Documentation
The Java Tutorial
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14104
    
  16

The obvious place to start is Sun's Java website, where you downloaded the JDK from.

Sun's New to Java Center


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Naveen Vooka
Greenhorn

Joined: Oct 13, 2004
Posts: 25
Herbert Schildt Java 2 A Beginner's Guide
Bruce Eckel," Thinking in JAVA "

http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html
http://java.sun.com/developer/onlineTraining/Programming/BasicJava1/compile.html
http://www-128.ibm.com/developerworks/java/newto/

--------------
Naveen Vooka
www.devsquare.com
DevSquare - Online Application Development
Karen Nelson
Ranch Hand

Joined: Aug 19, 2005
Posts: 57
I would definitely recommend _Headfirst Java_, even if you have some experience, you can get a lot out of it and be entertained at the same time.

As far as the API, one of the best things to do is browse the forums right here and click on anything that looks slightly interesting. That way you can read in advance about problems other people are having and what parts of the API they found useful. I learn a ton this way.

And post your problems here -- people are fantastic about helping us newbies.

-Karen.
Tony Shivpershad
Greenhorn

Joined: Sep 27, 2005
Posts: 18
Wow, my first post here, and it's a reply rather than a question!
I definitely recommend the book that I am currently reading "Beginning Java Objects: From Concepts to Code" by Jacquie Barker. I bought it on Amazon.
[ October 04, 2005: Message edited by: Tony Shivpershad ]
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
Sun also provides an online tutorial to help get you started on different parts of the API. As you learn the API, you should become familiar with and learn how to navigate the API documentation. See the links in my signature for both the tutorial and the API docs.

Layne
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where Would You Start?