next up previous
Next: Class/Interface Naming Up: Naming Convention Previous: Naming Convention

Package Naming

Generally, package names should use only lower-case letters and digits, and no underscore. To obtain unique package prefix, the scheme suggested in [Gos96] should be used. In this scheme, a unique prefix is constructed by using the components of the internet domain name of the host site in reverse order. Examples:

  1. java.lang
  2. com.sun.identity.policy.comm
  3. com.mycompany.componentx



Dennis Seah Mon Jul 17 11:43:42 2006