The moose likes Beginning Java and the fly likes Copyright on package names? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Copyright on package names?" Watch "Copyright on package names?" New topic
Author

Copyright on package names?

Wilfried LAURENT
Ranch Hand

Joined: Jul 13, 2001
Posts: 269
Hi,
Who is in charge of registering the name of the packages?
I mean if I decide to have packages starting with fr.toto, who can guarantee that no one will ever use it?
W.
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
It is a convention - not a law. NO ONE can quarantee that others won't use it. However, since the industry standard is to use package names with an inverted domain address that you have registered, no one else would be able to register the SAME domain name. Therefore if everyone follows this standard there will be no clashes.
So all packages belonging to GM would be in packages named com.gm.whatever etc.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Copyright on package names?