By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,213 Members | 2,172 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,213 IT Pros & Developers. It's quick & easy.

Java Basics.

P: n/a
I have been learning perl and C++, and I have been looking into Java.
I know very little about the language, I have found some realy bad
books that realy served to confues me and I have to find medicore C++
books to explain objects. Now working with C++ and perl understand
object oriented programming. I know that Java is realy good for the
web and applets, but how is java for sprites and graphics? Are there
good built in libraries for GUI and other graphical projects. I have
seen the basics of Java and see little benifit over C++ other than its
web usefulness.

How would it compare to perl/TK and how dificult is it to create a
program that Uses GUIS and graphics?

Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

I don't know if you've received an answer to your query yet, but here we go:

There are lots of good books on the market. I teach Java, and from a
beginners point of view, a book like "Objects first with BlueJ" gives a very
good introduction to OOP using Java.

Java is not a web-language. You can use Java to write almost any type of
applications, from large client/server solutions (using J2EE) to small
embedded applications running on your mobile phone (using J2ME).

One of the major benefits I find in using Java compared to C++ is that the
language of Java is 100% pure OO (which C++ is NOT). Also it has a vast
library that covers anything from maths, networking (TCP/IP, HTTP, RMI
etc.), through multithreading, components for creating GUI (Swing), a
separat library for managing and manipulating images (Java2D), and even a
DirectX/OpenGL based 3D-library (Java 3D). And best of all: all of these
libraries are standardized and included in the standard framework, and for
free !! What do you get with C++ ? Basically the STL.....the rest you need
to get from third-parties (for free, if you're lucky, or for $), not
standardized accross platforms, and developer tools/IDEs.

Sadly Java has been know to be a web-programming language, which it of
course also is. But if you look at the history of Java, you will see that it
really originated from the embedded SW development....

Hence I would recommend you to take a second look at Java before you throw
it away.

Arne

PS! Just for the record: even though I personally find Java to be the best
language and platform/framwork I've been developing SW in, there are areas
where the Java platform and concept of "Write Once Rune Everywhere" might
not be as suitable as for instance C++....I.e. Java is NOT the solution for
ALL problems in the SW-world...

"enki" <en*****@yahoo.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
I have been learning perl and C++, and I have been looking into Java.
I know very little about the language, I have found some realy bad
books that realy served to confues me and I have to find medicore C++
books to explain objects. Now working with C++ and perl understand
object oriented programming. I know that Java is realy good for the
web and applets, but how is java for sprites and graphics? Are there
good built in libraries for GUI and other graphical projects. I have
seen the basics of Java and see little benifit over C++ other than its
web usefulness.

How would it compare to perl/TK and how dificult is it to create a
program that Uses GUIS and graphics?

Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.