learning the java environment

M

marcwentink

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
 
W

weironghai

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
 
V

vowitaf

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 ;)
 
M

marcwentink

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 ;-)
 
R

Roedy Green

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?

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,
 
M

marcwentink

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.
 
R

richardsosborn

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top