Re: Is there an easy way to find the right class?



Lew wrote:
<http://java.sun.com/docs/books/tutorial/collections/index.html>
(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
<http://java.sun.com/developer/onlineTraining/essentials/>

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

Aside from that I recommend studying the API package by package.
Here's a good place for studying java.util.
<http://java.sun.com/j2se/1.5.0/docs/api/java/util/package-summary.html>

Do each of the packages have a page like this?

Pretty much.

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.
<http://java.sun.com/javase/6/docs/api/java/nio/package-summary.html#package_description>

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

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 (functor classes).

In other words, I do not see any easy ways. Is there an easy way to be a concert violinist?

GIYF??? - ... ahhh... google is your friend

Tourist in New York City:
"Can you tell me how to get to Carnegie Hall?"

Manhattanite:
"Practice, practice, practice!"

- Lew


- Lew
.



Relevant Pages

  • A whole host of software problems :-)
    ... I've had some problems with CSW packages since I tried to ... first of all cleaned out all of my CSW installations, ... older versions of GIMP and Mozilla from unofficial mirror sites. ... insisted on updating Java, and I think that was when the problems ...
    (comp.unix.solaris)
  • Re: Module clarification
    ... I'm a Java guy and I'm playing around Python these days... ... we organize our classes into packages and then jarring the ... because the namespace is tied to ...
    (comp.lang.python)
  • SUMMARY: Missing Java system packages on Solaris 9
    ... David Foster gave me this here listing to bring Java back to life. ... these are the Solaris Java system packages, ...
    (SunManagers)
  • Re: GNU Java packages
    ... Java libraries. ... There're always the "standard" packages ... am I sure that the application will work with Sun VM too? ... Because if I use the gnu version the computer where I will install the ...
    (comp.lang.java.programmer)
  • Open-Source environments for Java (was: Re: java)
    ... Do you really need proper Java from Sun/IBM? ... In fact, the maintainers of the packages are quite responsive, since they ... responsibilities and even though the project is mostly driven by ...
    (Debian-User)