Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2006

Tip: Looking for answers? Try searching our database.

java and javax packages

Thread view: 
Bhanu - 11 Sep 2006 10:54 GMT
I tried to find out what is difference between java.*.*... packages and
javax.*... packages

Is it only a naming convention randomly followed (least possible) or it
has some meaning?
Andrew Thompson - 11 Sep 2006 11:10 GMT
> I tried to find out what is difference between java.*.*... packages and
> javax.*... packages
>
> Is it only a naming convention randomly followed (least possible) or it
> has some meaning?

javaX is a package reserved for 'eXtra' classs that
are not in the Java core package.

Such things like 'mail' or 'sound' API's might be
large, and required by only a few applications,
so they are put in a 'javax' package and distributed
as a separate Jar (to the normal Java Plug-In
Run-time environment).

But.. things change over time.  Some of the 'eXtra'
packages become so regularly used that Sun decides
to include one or more of them into the core Java Plug-In.

That is where the classes in the javax package come from,
once they were all 'eXtra' things from Sun that could be
added in to applications and applets.  At Java 1.1, even
Swing was an 'eXtra' Jar.

HTH

(I wonder how long it will take a 'JLS demon' to come
along and prove how wrong, my simple explanation is?)

Andrew T.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.