I come from a Perl background and I really like the fact that there is a central repository of public domain modules available, called CPAN (comprehensive perl archive network). I can go to cpan.org and download almost any kind of general-use module from there. Is there something like this for
Java? In other words, has someone set up an archive of classes that are free to the public, where all Java programmers go when they want to get a class rather than write their own? I hope the answer is not that there are many of these, because not to have a central repository means that I'd have to go looking in many places rather than one.