tags:

views:

871

answers:

5

What is the fastest-track set of resources for a C# developer wishing to hit the ground running in an enterprise-class Java team?

+2  A: 

Be prepared for abstractions. Lots and lots of abstractions ;)

Rex M
+1  A: 

I would suggest the following books:

Java really is a different kettle of fish - there's a lot more to developing enterprise apps than there is to C#. You have all kinds of different things to worry about - EJB's, Enterprise vs. "Personal" runtimes, etc etc..

The best advice I can give you is to use the NetBeans IDE. It is big, slow and cumbersome, but it does guide you for most of the way.

Fritz H
+2  A: 

The language itself should be simple to understand. There are not as many language constructs, everything possible is done in libraries.

The libraries will take some getting used to. The two most critical things you can do to hit the ground running is:

1: Use NetBeans or Eclipse and hit ctrl-space ALL THE TIME. It's like the god key.

2: bookmark this page: http://java.sun.com/j2se/1.5.0/docs/api/ (or the one appropriate for your version of java--but the version doesn't matter all that much) Review those packages in the main frame. Try to get a handle on what each package does. Browse the packages that are of interested and scan the classes.

After that it's just a matter of learning what other libraries you'll need to do your job. there is a lot to J2EE if your group uses that, you'll probably end up using Hibernate, and you should look into messaging & maybe RMI (you may not be using it directly, but nearly all intra-java communications are based on RMI).

remember ctrl-space. It will give you parameters, lists of functions that match what you've typed so far, it fills in import declarations, it expands macros, ...

Oh, and two other Eclipse tricks: ctrl-shift-T. "Lookup Type" (in eclipse, there is one in NetBeans but I can't remember the key sequence, ctrl-shift-O maybe). Anyway, you type in a partial classname and it will give you a list of ALL matching classes in your project. Click one to open it.

ctrl-click. Jumps to the declaration/definition of whatever you click on.

Bill K
A: 

Read the API documentation for packages java.lang, java.io, and java.util. Seriously. The mark of an amateur, in java, is someone writing a loop when there is a method in java.util.Collections that already does what they want.

paulmurray
Thanks for your time, but I mean Enterprise-class java.
Pita.O
Ok, I was assuming you weren't also an experienced java programmer.Same thing applies, though - you can't go past reading the j2ee specs. You can learn JSP by reading a bunch of tutorials, or you can read the spec and know that you are not missing anything.
paulmurray