When he created Java, Sun made an agreement that package names should be built, starting with the inverted company domain names or individual package creators. Since DNS ensures that domain names are unique (i.e., provided only to one organization or person), this avoids duplication.
So, Java packages from Microsoft have names starting with com.microsoft , and from Sun - com.sun , etc.
Carl Smotricz Apr 18 '10 at 9:17 2010-04-18 09:17
source share