Author Topic: Good Java books?  (Read 9353 times)

0 Members and 1 Guest are viewing this topic.

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Good Java books?
« on: December 16, 2009 »
I am looking to teach myself Java over the next few weeks, what books / resources / tutorials would you recommend?

Cheers.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Re: Good Java books?
« Reply #1 on: December 16, 2009 »
I found some free ebooks:

http://www.techbooksforfree.com/java.shtml
http://www.java201.com/books.html

I have no idea if they are useful or not.

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: Good Java books?
« Reply #2 on: December 16, 2009 »
@Nick:
How comes that you wanna take a peek at Java programming? Just curious
or do you want to have a bigger project in mind ?

Anyway, here are some of my links:

Basic stuff from the inventors of the language itself:
http://java.sun.com/docs/books/tutorial/java/index.html

Applets related tutorial
http://www.java-tutorial.net/

Lot of applets with source (if you wanna learn by example)
http://javaboutique.internet.com/cathome.html

Good luck!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Good Java books?
« Reply #3 on: December 16, 2009 »
I've done a bit of Java programming, but I wouldn't say I'm any kind of expert - it was all maintenance.  I use Jetbrains ItelliJ Idea which is an excellent IDE with intellisense and refactoring tools built in.

Jim
Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: Good Java books?
« Reply #4 on: December 17, 2009 »
Speaking of IDE's targetting Java programming I really do
can recommend Eclipse platform. Beside the fact that it
really suits all my needs - the amount and quality of plugins
which are mostly freely available is so immense.
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Good Java books?
« Reply #5 on: December 17, 2009 »
Thank you for the tips :) Plenty of things to check out there.

Benny: Well, it's a possible job that makes me want to learn Java, I have applied for a transfer at work to another department, the job I applied for is developing on a system called CDL which is pretty specialised but there is also another job advertised there writing Java stuff so I figured that I'd try and give myself the best chance.

After all I learned how to write console apps in C++ and Java doesn't look to be all that different to it so hopefully I'll take to it well. :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: Good Java books?
« Reply #6 on: December 17, 2009 »
@Shocky:
Ok, then forget all Applet related links I posted above. This would just
be irretating and would not lead you to what you wanted I guess.

I can recommend the following great tutorial dealing with the basics:
http://chortle.ccsu.edu/CS151/cs151java.html

What I really like about those tutorials is - that they are clearly spread
into small units. That makes them really easy to understand. In addition
each Chapter/lesson is split up on multiple pages - that makes reading
them much more easier IMHO.
Finally, there are excersises and quizes to revise the chapter's content.

I do not know how much object-orientated you coded in the last time -
but since Java is 100% object-orientated I would really recommend to
read and understand those object-orientated paradigma and start thinking
in Objects. (Refer: Part 6: Object Oriented Programming).

Another advice would be to find out the development tools they are using.
If they use open source products (like Eclipse e.g.) it might be a good
idea to use them, too. This might give you some extra bonus when you
apply for the new position.

Good luck!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Good Java books?
« Reply #7 on: December 17, 2009 »
I am looking to get this all set up this weekend after I've dealt with the insurance and car hire people, that page of tutorials looks really good.

I'll see whether I can find out what development tools they use too, good tip. Thanks mate.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Good Java books?
« Reply #8 on: December 17, 2009 »
I guess the huge difference between C++ and Java is the memory management.  In C++ you need manually to track everything.  Anything you create you need to delete.  In Java (and C#) that's not the case, objects get deleted when no one is using them any more.  This sounds quite scary but it is actually very, very cool indeed.

Jim
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Good Java books?
« Reply #9 on: December 17, 2009 »
That sounds neat :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline warters

  • I am THE prince of Warts
  • Pentium
  • *****
  • Posts: 733
  • Karma: 7
    • View Profile
Re: Good Java books?
« Reply #10 on: December 17, 2009 »
I'd start using Eclipse if I were you Bro  ;)

This isn't goodbye.....
 It's greatbye

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Good Java books?
« Reply #11 on: December 17, 2009 »
Eclipse looks excellent, I downloaded netbeans and Eclipse, I prefer Eclipse already.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline warters

  • I am THE prince of Warts
  • Pentium
  • *****
  • Posts: 733
  • Karma: 7
    • View Profile
Re: Good Java books?
« Reply #12 on: December 17, 2009 »
It's what JB and Super Tom use. I think it's close to the backward system that is used for the RTP programmer job.
This isn't goodbye.....
 It's greatbye

Offline JL235

  • C= 64
  • **
  • Posts: 71
  • Karma: 9
    • View Profile
    • Play My Code
Re: Good Java books?
« Reply #13 on: December 17, 2009 »
I prefer NetBeans because it's more stable and better implemented. But if your learning Java for a job then Eclipse is the way to go. Good or bad, the vast majority of companies use Eclipse for writing Java.

For a book I'd recommend Effective Java. If you know C++, then learning how to write Java will be trivial. It's learning how to use it which will be difficult. This book essentially tries to teach that, it's guidelines and best practices for writing good Java code.

I learnt Java using Objects First with Java. Rather then teaching Java, it teaches object-orientation using Java. The difference is that your code is only object-oriented and well designed if you write it in an object-oriented way and design it well. The book is primary aimed and used by first time programmers (for example it's on about page 100 when they introduce the for loop), so it's probably not best for you. But for anyone else who's just starting out I'd highly recommend this book.
Play My Code - build games in your browser!

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Good Java books?
« Reply #14 on: December 17, 2009 »
Thanks JL235, thanks for the advice.

That's going to be the thing I need to concentrate on. I am old-fashioned and a procedural programmer, also I am not used to the eclipse IDE and writing programs as projects.

I found some great video tutorials by Mark Dexter that explains how to use the Eclipse IDE while introducing  some programming.

I think I'll take a punt on Objects First With Java, got to be worth a look.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline JL235

  • C= 64
  • **
  • Posts: 71
  • Karma: 9
    • View Profile
    • Play My Code
Re: Good Java books?
« Reply #15 on: December 18, 2009 »
A new edition of Objects First came out not too long ago, the fourth edition. So if your interested in saving a few quid then you could probably get the third edition (which is the one I own) for a less second hand. I wouldn't bother with an edition older then that.
Play My Code - build games in your browser!

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Good Java books?
« Reply #16 on: December 18, 2009 »
Eclipse is retarded.  But a lot of people use it.

Jim
Challenge Trophies Won:

Offline madeyes

  • ZX 81
  • *
  • Posts: 23
  • Karma: 4
    • View Profile
Re: Good Java books?
« Reply #17 on: December 18, 2009 »
No one mentioned Thinking in Java yet? http://www.faqs.org/docs/think_java/TIJ3_c.htm
Good free online book.

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Good Java books?
« Reply #18 on: December 19, 2009 »
Thanks Madeyes, I'll check that out too :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Good Java books?
« Reply #19 on: December 22, 2009 »
Quote
Objects First came out not too long ago, the fourth edition

It arrived today and looks great :) Thanks for the advice.
Shockwave ^ Codigos
Challenge Trophies Won: