• Welcome to Dark Bit Factory & Gravity.
 

Good Java books?

Started by Shockwave, December 16, 2009

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Shockwave

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:

rdc


benny!

@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:

Jim

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:

benny!

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:

Shockwave

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:

benny!

@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:

Shockwave

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:

Jim

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:

Shockwave

Shockwave ^ Codigos
Challenge Trophies Won:

warters

I'd start using Eclipse if I were you Bro  ;)

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

Shockwave

Eclipse looks excellent, I downloaded netbeans and Eclipse, I prefer Eclipse already.
Shockwave ^ Codigos
Challenge Trophies Won:

warters

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

JL235

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!

Shockwave

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:

JL235

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!

Jim

Eclipse is retarded.  But a lot of people use it.

Jim
Challenge Trophies Won:

madeyes

No one mentioned Thinking in Java yet? http://www.faqs.org/docs/think_java/TIJ3_c.htm
Good free online book.

Shockwave

Thanks Madeyes, I'll check that out too :)
Shockwave ^ Codigos
Challenge Trophies Won:

Shockwave

QuoteObjects 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: