Dear group,
I am an experienced C++ programmer and want to do something in Java to
broaden my possibilities and not be dependent of one playing card.
Now the language as such, that's not that difficult. Then there is the
concept of the GC, where C++ has class destructors. That takes a few
weeks to get used to.
But probably more important is to get to know the java libraries? The
environment besides the language itself. Does anyone have an idea how
to study this and how long it would take to be as professional in Java
as I am now in C++? I think of buying the following book which would
be on the right level, and have the right information: "not just Java"
written by Peter van der Linden. Anyone could have more suggestion for
my present level?
Personally I would think reading this book a few other books and one
year of programming experience in pure Java would get me on level,
would I be far off?
Marc Wentink
Raju - 29 Mar 2006 11:10 GMT
hi,
U can go through these books.
1.Core java. Vol I and Vol II;Sun microsystem;
> Dear group,
>
[quoted text clipped - 18 lines]
>
> Marc Wentink
weironghai@gmail.com - 29 Mar 2006 11:38 GMT
almost book about java always tell you.
安装完J2SDK以后,在我的电脑->属性->高级->环境变量->系统变量中添加以下环境变量(假定你的J2SDK安装在c:\J2SDK1.4.2):
JAVA_HOME=c:\J2SDK1.4.2(不能加分号)
classpath=.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;(.;不能少,表示当前路径)
path= %JAVA_HOME%\bin;
(系统里已经有了path变量,只需要在path最前面加上去即可)
www.dreamsea.net
vowitaf - 29 Mar 2006 14:17 GMT
Marc,
I personally don't like reading introductory books on languages (prefer
the language spec or language reference, etc).
Take a look at the figure on this page:
http://java.sun.com/j2se/overview.html
That figure will give you a good overview of what the standard
libraries provide. The best way to learn Java is to start working on a
project. I'd suggest taking a small-sized C++ project that you worked
on in the past and writing the whole thing in pure Java. You could use
that figure to decide what kind of project you want to do depending on
your interest and goals and pick an application that utilizes the
appropriate libraries. The library JavaDocs are pretty good for the
most part.
It will certainly take more than an year to be an 'expert' in Java (and
that too maybe in a few core areas). Part of the reason for that is
that Java has so much more outside the standard libraries that Sun
provides. Tons of frameworks and libraries for every thing.
Once you are comfortable with the standard libraries (i.e. you are
confident you can find your way around if you need something), take a
look at the other stuff. Browse through the projects on Apache and
Eclipse, read the articles on IBM developerworks, theserverside.com,
get involved in javalobby (and try the java blackbelt tests ;) , watch
the videos from javapolis (maybe even attend it!). Read the Java
classics like Bloch's Effective Java (just look for 'java' at amazon
and you'll find most of the other classics) and definitely at least one
book on design patterns using Java.
Finally, if you still want to be an expert, start filing bugs on a
large open-source project, then start committing new features to it.
Depending on your determination and skills you'll get there within 2 to
3 years. Good luck ;)
marcwentink@hotmail.com - 29 Mar 2006 15:01 GMT
Vowitaf:
> It will certainly take more than an year to be an 'expert' in Java (and
> that too maybe in a few core areas).
Yes, yes, seeing all the libraries in that figure I can imagine. I have
already seen a few of the blocks there: IDL, RMI, IIOP. All those libs
will take me a few years to study. I understand why a position in a
project is not directly obtained when one says, I know C++ and I am an
experienced programmer and Java (i.e. the language) is just as easy as
C++. There is far more to it then just the syntax differences, as I
suspected.
Thanks for the posting. My determination is high, so I'll start reading
now as 29 march, 1601 CET ;-)
Roedy Green - 29 Mar 2006 20:28 GMT
On 29 Mar 2006 01:53:49 -0800, "marcwentink@hotmail.com"
<marcwentink@hotmail.com> wrote, quoted or indirectly quoted someone
who said :
>But probably more important is to get to know the java libraries? The
>environment besides the language itself. Does anyone have an idea how
[quoted text clipped - 3 lines]
>written by Peter van der Linden. Anyone could have more suggestion for
>my present level?
I don't think any Java programmer even knows the names of 80% of the
libraries. You learn what you need for the current project.
You might have a look at http://mindprod.com/jgloss/j2ee.html
for an overview of the enterprise APIs.
Basics you need include JDBC, Servlet, JSP, Collections, I/O, nio,
Swing,

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
marcwentink@hotmail.com - 30 Mar 2006 09:54 GMT
Roedy
> I don't think any Java programmer even knows the names of 80% of the
> libraries. You learn what you need for the current project.
That is a good point, and these libs would be about equally new if I
start a new C++ project, then if I would start a new Java job. I am an
good C++ programmer, but I do not know all the C++ libs either.
richardsosborn@gmail.com - 26 Apr 2006 15:21 GMT
yea i think that's why they started splitting up the java
certification exam into GUI, core, etc. the overall java api is so
large now, it's hard to know swing, EJB and say raw network programming.