Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Q for Kathy & Bert

 
Amy Phillips
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 1589
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic