Re: Is there an easy way to find the right class?
(Written by Josh Bloch!)
Farcus Pottysquirt wrote:
You mean the guy who wrote _Essential Java_ ?
Yes. Read everything by him that you can.
Or in depth tutorials like
Looked there... 2003? So I guess jdk1.6 isn't being looked at yet?
These may be old but they still work. There are other resources for newer
Aside from that I recommend studying the API package by package.
Here's a good place for studying java.util.
Do each of the packages have a page like this?
You can go a long time knowing only a subset. For example, I am only
now finally after forever getting around to studying the NIO packages.
Did you have a particular reason to study the NIO packages?
Only because it was way old and I didn't know it yet.
If so, was it because you found out that the NIO package has a class that your app can use?
Nope. But now that I am learning about it, actually them, I see all kinds of
And how do you know which package to study?
All of them.
Did you ask someone like I'm asking the group now?
I did not. I study all of them. I haven't finished yet, and there remain many
packages I have not yet started on.
Sometimes a project will have me learn something, as when I was first tasked
with designing and implementing a Web service using SOAP.
I'd say that java.lang, java.util (and related) and java.io/java.nio (and
related) are the most important to learn first. For Web apps know the servlet
APIs and how to use JSP, JSTL and EL. Know about generics, threading and a few
dozen useful patterns. Read the white papers, such as the theoretical
underpinnings of the Java synchronization (Hoare monitors). Learn about things
that Java doesn't support (e.g., function closures), and what Java has instead
In other words, I do not see any easy ways. Is there an easy way to be a
GIYF??? - ... ahhh... google is your friend
Tourist in New York City:
"Can you tell me how to get to Carnegie Hall?"
"Practice, practice, practice!"