Looking for a good Java text book
Page 1 of 1
X_Dror




Posts: 4955
Location: Jerusalem, Israel
PostPosted: Thu, 4th Oct 2007 15:56    Post subject: Looking for a good Java text book
I've got the basics in Java. I know how the basic uses of OOPrograming, inheritance, polymorphism (to some extent) and dynamic data structures.
I would like to extend my knowledge a bit more in the graphical aspect and the advanced I/O methods so it could even fit to the creation of simple games.

I was thinking about this book
http://www.amazon.com/Introduction-Java-Programming-Comprehensive-Version-6th/dp/0132221586/ref=pd_bbs_2/002-1243508-3228005?ie=UTF8&s=books&qid=1191496142&sr=8-2

and maybe this one too
http://www.amazon.com/Head-First-Java-Kathy-Sierra/dp/0596009208/ref=pd_bbs_sr_1/002-1243508-3228005?ie=UTF8&s=books&qid=1191496142&sr=8-1

I've also heard that the O'reillys book are really good, but there are too many and I don't know which one will be good for me.

If you've got any other books to offer feel free to do so Smile

Thanks!
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Thu, 4th Oct 2007 16:30    Post subject:
I don't think you need to waste money on books... The internet is full of guides, tutorials and code examples that are more than enough to learn anything. You say you know the basics, so there really isn't a need for a book.
Back to top
X_Dror




Posts: 4955
Location: Jerusalem, Israel
PostPosted: Thu, 4th Oct 2007 16:38    Post subject:
But it's not always easy to find solutions, or start a brand new thing from scratch.
Not so long ago I started learning the graphical syntax by myself from the internet, after a lot of headaches I finally got what I wanted to work, but I still don't get it by a 100%. I think that with a book it will be much more easier for me to learn things from a scratch.

For example if now I want to create a real-time interactive graphical interface I would have no idea on how to do that, and I think that it will be quite hard to find any good and thorough on-line tutorials for that.
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Thu, 4th Oct 2007 17:03    Post subject:
What do you mean graphical syntax? AWT and SWING?

If you're aiming to do a client app for windows, I'd recommend doing it in C# (.NET). Language has all the advantages of the Java language, plus the .NET Framework's Windows Forms is much easier to work with on Windows than the AWT/SWING crap in Java. Java's strength is in the server multiplatform programming.
Back to top
Rinze
Site Admin



Posts: 2343

PostPosted: Thu, 4th Oct 2007 17:27    Post subject:
The book by Liang would be a good choice. You can find an e-book version of it as well, so you can check it out. It is a schoolbook, with small exercises at the end of each chapter.

The other book is more snippets and stories, you can read it front to back, but also you can just browse around in the book and find what you want to learn.

And check the reviews on amazon to find out if the style of the book matches with you.
Back to top
X_Dror




Posts: 4955
Location: Jerusalem, Israel
PostPosted: Fri, 5th Oct 2007 12:59    Post subject:
Leo: Yeah I mean AWT and Swing.
Maybe I should check C# out, but the problem is that I even don't know its basic syntax so I don't know if I could jump right to it. Is it anything like C's syntax?

And it's not like I'm creating any serious commercial projects I intend to sell, I just practice it a little bit for my own experience and knowledge.

Rizne: Are you talking about a legit e-book? or a pirated e-book? I've been looking for both a pirated and a legit e-book and couldn't find anything. Even in Amazon they don't have the option take a peek inside this book.

But from what you said, I think that the book by Liang would be a better choice for me.
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Fri, 5th Oct 2007 13:49    Post subject:
See this to see a comparison of the languages. On a quick look, C# and Java look very similar, however when you start using the C#-specific features (like delegates, anonymous methods, properties, etc), Java suddenly feels awfully limited. It's not that you can't do the task, it's just much easier to do it in C# (I'm talking about the language, not the framework). Generally, C# is advancing more rapidly, and every revision brings new features. Some don't like this, I love it. The third revision of C# due in November brings so much cool features, that Java looks like it's from the stone age.
For a more in depth look at the frameworks and their strengths and weaknesses, read this. Here things are different. The Java framework obviously enjoys much more portability, but the things like Remoting and Web Services tilt my liking toward .NET.

Plus, Visual Studio is the best IDE around. That's especially important for a beginner.
Back to top
X_Dror




Posts: 4955
Location: Jerusalem, Israel
PostPosted: Fri, 5th Oct 2007 23:39    Post subject:
I'll check it out.
You said that the best IDE Visual Studio, but I only found the 2005 version, is that the latest one?
It's not free, right? (How can microsoft will ever give anything for free?)

Is there anything parallel to Java Eclipse but for C#?

Edit:
Found about these -

-XNA Game Studio Express
http://msdn2.microsoft.com/en-us/directx/Aa937795.aspx

Visual C# 2005 Express Edition
http://msdn2.microsoft.com/en-us/express/aa700756.aspx

Free Borland C#Builder Personal Edition

http://www.codegear.com/downloads/free/csharpbuilder

Turbo C# Explorer
http://www.turboexplorer.com/

Which one would you recommend?
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Sat, 6th Oct 2007 00:32    Post subject:
Well, for a beginner, the 2005 Express Edition is much more than enough, and as it is, its still better than most IDEs. I'd recommend you check the betas of the 2008 (full versions due in November). I find them more useful, plus C# 3.0, lol.

XNA is a framework for game developers that sits somewhere on top of the .NET framework. It's supposedly a superset of Managed DirecX (if you have any idea what that flop is, lol). Don't go there yet. Just focus on the basics (threading, sockets, remoting, etc), then if you wish, when you feel ready, go for XNA and the like.
Back to top
X_Dror




Posts: 4955
Location: Jerusalem, Israel
PostPosted: Sat, 6th Oct 2007 01:18    Post subject:
Thanks for the help so far.
I've been able to do a few very simple things, but I don't think I got it yet.
Any good beginners tutorials you can recommend? Just for the Syntax and basic things. (I didn't like Microsoft's video tutorials)
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Sat, 6th Oct 2007 01:25    Post subject:
I studied C#/.NET all by my self through the MSDN and http://www.codeproject.com. There are really good examples there (CP). When I need something specific, I google the topic and I find the answer usually in 5 minutes lol. http://csharpcorner.com/ is also nice.

You should first learn the language, then dwell in the Framework and all the things it allows you to do. Read as much as you can from here: C# Programming Guide.

Also, some of the MS Starter Kits are really nice too, so check them as well.
Back to top
X_Dror




Posts: 4955
Location: Jerusalem, Israel
PostPosted: Sat, 6th Oct 2007 02:25    Post subject:
These sites look really good.
And thanks for the advices.

Phew, I've got a lot to read and learn now, though I like it Smile

Thanks a lot for the help, both you and Rinze Smile
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Sat, 6th Oct 2007 17:24    Post subject:
Have fun! Very Happy
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Programmers Corner
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group