954,545 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

The better Java book?

Hey! I'm pretty new to programming, and since I'm a little too young to join any sort of course, decided to self-teach myself, and decided to start off OO programming through Java, seeing as I'll be picking up Computer Science next year as a subject, and it has quite some Java involved. I never really considered learning Java (I hate how resource hungry some java programs can be :P ) but now I might pick up a good book to give myself a head start in Java. I'm not looking for a small introductory guide, and neither am I a complete novice, I got some experience with C and PHP, but nothing too big, especially on PHP, so a nice comprehensive book would do the job well. I did some searching around and found two books that seem to explain everything extremely well, and also give you exercises to work on (Which is one of the main things I am looking for, since I'm self teaching myself); Big Java by Horstmann and Java How to Program by Deitel.

Now I've read that Big Java was more well suited for use in class, but seems that it comes with tons of exercises and an interesting random fact is thrown in every now and then, which is all good. And Deitel's book also comes with tons of exercises, and mainly focuses on Java, and is also bigger and from the looks of the insides, more complete.

So was wondering if anyone here has any experiences with any of the two books, would really appreciate any suggestions on which one to take :) And if your gonna post something about Head First Java, yes I have taken a look at it, and although I must have to admit, it looks like a great book, it's not really my taste...

Thanks! (Just realized how long of a post this is, sorry xD)

TidusBlade
Newbie Poster
3 posts since Mar 2009
Reputation Points: 17
Solved Threads: 0
 

>I hate how resource hungry some java programs can be
Thats the thing from the Ice age. Now Java can really be as fast and efficient as some of the native language code.

>I did some searching around and found two books
Hmmm... Did you not search the sticky thread at the start of the forum ? It lists some good books for Java too and they really are worth.

I personally haven't read any of the books mentioned, I haven't even heard the name of Big Java before, I found Bruce Eckel's Thinking in Java quite good.

verruckt24
Posting Shark
952 posts since Nov 2008
Reputation Points: 485
Solved Threads: 89
 

Absolute Java is a good beginner's book. It covers the concepts with simplicity and clarity, and goes in depth enough that you can explore the concepts further on your own without too much trouble.

BestJewSinceJC
Posting Maven
2,772 posts since Sep 2008
Reputation Points: 874
Solved Threads: 354
 

I personally recommend Head First Java.

jasimp
Senior Poster
3,623 posts since Aug 2007
Reputation Points: 533
Solved Threads: 53
 

I'm currently learning from a book called Data Structures Using Java 5.0 by Nicholas J. DeLillo. It's a great book with lots of great examples.

Grn Xtrm
Posting Pro in Training
495 posts since Nov 2008
Reputation Points: 100
Solved Threads: 48
 

^ Thats a beginner's book? Sounds like an advanced book to me.

BestJewSinceJC
Posting Maven
2,772 posts since Sep 2008
Reputation Points: 874
Solved Threads: 354
 

Sounds like an introductory book to me. It's not an introduction to Java, though -- it's an introduction to data structures.

Rashakil Fol
Super Senior Demiposter
Team Colleague
2,658 posts since Jun 2005
Reputation Points: 1,135
Solved Threads: 177
 

Making it an advanced book from the perspective of someone who is just learning Java. :)

BestJewSinceJC
Posting Maven
2,772 posts since Sep 2008
Reputation Points: 874
Solved Threads: 354
 

I found the best book to be google and the best tutorials to be whatever the mind can conceptualize into the digital world.

I have been writing software since the 6th grade (C++ and Java more recently) and I must say I learned the most when I took every day computing tasks and wrote applications to solve the problems.

Java is a very neat language in that you can very easily get up and running with it given you've got the time and patience to do so (almost contradictory I know haha :P )

Given a good compiler (NetBeans or Eclipse) you can begin serving JSP and servlet based applications almost immediately and can go spiraling up from there.

So to make a long bloated story short, find something you like to do on your computer or something you find boring enough - and write a solution to it.

I started with files manipulation: moving files, searching for content, manipulating contents...etc and progressed from there. I've since dived into servlet applications, image meta data manipulation, service bus implementations, student loan calculators, database administration applications, multi-threaded apps, web sniffers / harvesters...etc

You never know where the fingers will take you :)

Killer_Typo
Master Poster
781 posts since Apr 2004
Reputation Points: 152
Solved Threads: 39
 

>I found the best book to be google
Yes but sometimes you need a flow to what you are reading which is hard to get given the fact that you are looking up different articles written by different authors scattered all over the internet.
Also when you read different articles by different authors you would sometimes find them contradicting each other a bit, because every author has hos own style, his beliefs his own "best practices" etc,
I am not saying that this isn't a good way, yes it is, but for a beginner not a preferred way to begin with.

>Given a good compiler (NetBeans or Eclipse)
These are IDEs.

verruckt24
Posting Shark
952 posts since Nov 2008
Reputation Points: 485
Solved Threads: 89
 

I have Java How to Program 6th edition and I really like it. It takes reader from simple basic of console programming to GUIs, drawing, databases, web development (6th edition compare to 7th is missing on AJAX, but I prefer 6th explanation on JSP and servlets), networking and introduction to threads. Progress through book is followed by UML topics based on currently explained topic in the book. I never read the whole book I guess somewhere around 1/3 it was more of jumping between various topics because of my school teaching path, but I consider it as good learning resource plus attached CD is usually loaded with interesting things

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 
>I found the best book to be google Yes but sometimes you need a flow to what you are reading which is hard to get given the fact that you are looking up different articles written by different authors scattered all over the internet. Also when you read different articles by different authors you would sometimes find them contradicting each other a bit, because every author has hos own style, his beliefs his own "best practices" etc, I am not saying that this isn't a good way, yes it is, but for a beginner not a preferred way to begin with.


as a beginner my first C++ book was a C++ primer that covered basic loops and pointers, I know pretty much dig through google for the rest. WHile many articles can seem to contradict eachother it evens itself out in the end. Nothing wrong with a large amount of code exposure. In my experience I have found pocket references and super thin primer style books to be the best. Heck - even a Java Spark CHart rocks, it's straight to the point and easy to follow. It's only 2 pages :P

I may be an exception to the rule, but I find books to be better suited as a backup. The books I prefer to keep in my library are cook books and pocket references who knows, maybe I am just a bit weird ;)>Given a good compiler (NetBeans or Eclipse)
These are IDEs.

yes I will agree I meant IDE /doh

Killer_Typo
Master Poster
781 posts since Apr 2004
Reputation Points: 152
Solved Threads: 39
 
>I hate how resource hungry some java programs can be Thats the thing from the Ice age. Now Java can really be as fast and efficient as some of the native language code.


Well, I was insulting the program, not the language, but the program sort of turned me off the idea of learning Java...>I did some searching around and found two books
Hmmm... Did you not search the sticky thread at the start of the forum ? It lists some good books for Java too and they really are worth.
Yes I did, the only introductory book was Head First Java, which I said, wasen't really my taste, and yes I read through the first chapter and a few random pages.I personally haven't read any of the books mentioned, I haven't even heard the name of Big Java before, I found Bruce Eckel's Thinking in Java quite good.
Yeah I've seen Thinking in Java being mentioned a couple of times before, I'll keep it in mind, so thanks for the insightful answer :)Absolute Java is a good beginner's book. It covers the concepts with simplicity and clarity, and goes in depth enough that you can explore the concepts further on your own without too much trouble.
Never heard of it, the cat cover looks pretty cool though :P Might give it a look later, so thanks for the suggestion!I personally recommend Head First Java.
Thanks for the recommendation but I did say that I didn't really like it :P And yes, I did read it a little...I'm currently learning from a book called Data Structures Using Java 5.0 by Nicholas J. DeLillo. It's a great book with lots of great examples.
Thanks for the suggestion, but it's not exactly a Java intro according to the next couple of posts :PI found the best book to be google and the best tutorials to be whatever the mind can conceptualize into the digital world.

I have been writing software since the 6th grade (C++ and Java more recently) and I must say I learned the most when I took every day computing tasks and wrote applications to solve the problems.

Java is a very neat language in that you can very easily get up and running with it given you've got the time and patience to do so (almost contradictory I know haha :P )

Given a good compiler (NetBeans or Eclipse) you can begin serving JSP and servlet based applications almost immediately and can go spiraling up from there.

So to make a long bloated story short, find something you like to do on your computer or something you find boring enough - and write a solution to it.

I started with files manipulation: moving files, searching for content, manipulating contents...etc and progressed from there. I've since dived into servlet applications, image meta data manipulation, service bus implementations, student loan calculators, database administration applications, multi-threaded apps, web sniffers / harvesters...etc

You never know where the fingers will take you :)
Oh yeah, that's a base I got covered :P I got several plans, some I've started working on basically, and some I'm not experienced enough to start up yet, and some I haven't got the time for yet, but I'm always trying to solve something, nothing more satisfying than solving a problem using your own program!

As for using google, it's certainly indespensible when coding, but I kind of use it to find out extra information, as a backup source and updated information source, but I don't think I could initially learn by googling, I see google more of a place to find answers...I have Java How to Program 6th edition and I really like it. It takes reader from simple basic of console programming to GUIs, drawing, databases, web development (6th edition compare to 7th is missing on AJAX, but I prefer 6th explanation on JSP and servlets), networking and introduction to threads. Progress through book is followed by UML topics based on currently explained topic in the book. I never read the whole book I guess somewhere around 1/3 it was more of jumping between various topics because of my school teaching path, but I consider it as good learning resource plus attached CD is usually loaded with interesting things
Thanks for the insight into the book, certainly sounds comprehensive. I'm probably gonna end up with the 7th edition or possibly 8th one if I delay buying this for a few weeks. Really shifting to liking Java How to Program, so I guess I'll be buying it :) Thanks!

TidusBlade
Newbie Poster
3 posts since Mar 2009
Reputation Points: 17
Solved Threads: 0
 
Thanks for the recommendation but I did say that I didn't really like it :P And yes, I did read it a little...


Doh! From now on I'll have to read all the way through posts, instead of just skimming the really long ones ;)

jasimp
Senior Poster
3,623 posts since Aug 2007
Reputation Points: 533
Solved Threads: 53
 

i would suggest Big Java by horstman among those two books....
and as you are a beginner you should prefer core java by horstman
that is a very good book for beginners(i personally following that book) ....

abhishaki
Newbie Poster
15 posts since Jul 2008
Reputation Points: 10
Solved Threads: 1
 
i would suggest Big Java by horstman among those two books.... and as you are a beginner you should prefer core java by horstman that is a very good book for beginners(i personally following that book) ....


Thanks for the suggestion, I just gave Core Java I and II a quick peek and it seems there are not exercises in any of them =/ Although they do seem to provide excellent explanation and I like the comparisions made between C++ and Java, but the second most important thing to me is having good exercised :)+

TidusBlade
Newbie Poster
3 posts since Mar 2009
Reputation Points: 17
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You