wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Q for Kathy & Bert Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Q for Kathy & Bert" Watch "Q for Kathy & Bert" New topic
Author

Q for Kathy & Bert

Amy Phillips
Ranch Hand

Joined: Apr 02, 2003
Posts: 280
I have read your sample chapters (both excellent!) and was wondering about where you find the classes to help you build a Surf Shop application.
I expect within a company they keep a library but what should us java students do? Is there somewhere on the web where we can get useful ( and reliable) classes to work with?
Thanks
Kathy Sierra
Cowgirl and Author
Ranch Hand

Joined: Oct 10, 2002
Posts: 1572
Howdy Amy
The best place to look for code you can use is the Java API. And for that, my favorite book is the Java Almanac. And I also highly recommend the Java Class Libraries poster from Addison Wesley.

But that only gives you the raw building blocks for putting something together. You also need to know, in the beginning, how to combine / use the API classes to do something useful. For that, my favorite book is Ian Darwin's "The Java Cookbook". It has not been updated for 1.4, but that has made no difference to me. I love it, both for myself and for students.
For application-specific things (like a SurfShop ), if you are a student you can do a combination of searching on the web and creating what you need from existing API classes.
However, for commercial use you can also buy (sometimes free of charge) Java classes marketed as "components" (also known as JavaBeans). You can check out:
Component Source marketplace
And click on Java or JavaBeans. JavaBeans are when a Java developer follows certain conventions to make a reusable piece of functionality (which can involve more than one class). Most Java IDE tools can 'read' JavaBeans and let you integrate them into your own code using visual tools to, say, change a variable value by selecting it in a property list and typing in a new value.
cheers
-Kathy
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
I might not be fully understanding your question, Amy.
If you're looking for examples or reliable tools, you might want to mosey on over to The JavaRanch Codebarn, take a look at Paul's new project, Jenny the db code generator, or head on over to SourceForge - a great site with lots of open source projects that come in handy.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
 
subject: Q for Kathy & Bert