Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-14-2008, 12:34 AM
Silentstormz's Avatar
Member
 
Join Date: Sep 2008
Location: Raleigh
Posts: 8
Silentstormz is on a distinguished road
Send a message via AIM to Silentstormz
Java Packages/Jars
I don't know if I'm posting in the appropriate forum so moderator please move me if I'm not.

Hello fellow Java programmers,

I have a few questions on the fundamentals(?) of Java class/Jars we import to our programs.

First, I think I know the basic concept of importing a Jar into a program (somewhat): To instantiate objects of classes from the respective Jar to use their methods and more. Well, many imported classes have many useful methods and such to use for programs. I was given a concept of how many classes there are to a particular package, and the tons of methods there are within the classes. For a newbie Java programmer like myself, I'd like to know every method from every class so I could properly strategize what to import and use when making a program. The problem is the imports that contain "method tools" are soooooo expansive, perhaps endless? Well I'd like input from ya'll to see if that thought is somewhat true; is it really endless?

I would also really really appreciate any references to websites (or books) that elaborate on what particular imports (like java.lang, javax.swing , java.awt, java.util, etc.) contain and how the classes can be used in programs for begainners like me.

If my perception of imported Jars and such is wrong, please correct me because I'd love to learn. For those who do provide me great feedback, I do have cupcakes I'm willing to trade for knowledge!

Thanks for your time,
Silentstormz
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-14-2008, 01:31 AM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,225
Norm is on a distinguished road
Probably the new to java would be a better location.
Quote:
importing a Jar into a program
You don't do this. There's an error here in your thinking.
The import statement tells the compiler where it can look for class definitions. Classes are often placed in jar files for ease of control and usage, but they don't have to be.
Quote:
I'd like to know every method from every class
Start reading the API doc. Unless you are a very fast reader, you'll never make it. Start with the common ones and expand as needed.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 09-14-2008, 03:36 AM
fishtoprecords's Avatar
Senior Member
 
Join Date: Jun 2008
Posts: 533
fishtoprecords is on a distinguished road
Quote:
Originally Posted by Norm View Post
Unless you are a very fast reader, you'll never make it. Start with the common ones and expand as needed.
I think Norm may be wrong here. Even if you are a very fast reader, folks add more libraries all the time. I don't think you can ever catch up.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 09-14-2008, 04:41 AM
Senior Member
 
Join Date: Aug 2008
Posts: 186
Supamagier is on a distinguished road
I wish you very good luck: Java 2 Platform SE v1.3.1

There are ~2000 classes and each of them has at least 20 methods. That would make a total of ~40000 methods.

Have fun.
__________________
check out
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
, 100% made by me.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 09-14-2008, 09:58 PM
Silentstormz's Avatar
Member
 
Join Date: Sep 2008
Location: Raleigh
Posts: 8
Silentstormz is on a distinguished road
Send a message via AIM to Silentstormz
yeah, now that I grasped a concept of an "API" and all that's out there....OMG...
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a signed jars mgrprasad90 Enterprise JavaBeans 2 08-23-2008 05:38 PM
More efficient in memory? Multiple Jars or Single Jars with lot's of Classes dark_cybernetics New To Java 0 08-19-2008 06:44 PM
Preblem with JARs bizmut Eclipse 1 06-04-2008 07:41 PM
Importing packages from the packages within same application. sta2003 New To Java 3 02-12-2008 01:03 PM
how to find unused jars?? orchid Eclipse 4 06-08-2007 12:35 PM


All times are GMT +3. The time now is 09:30 AM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org