Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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

Copyright on package names?

Wilfried LAURENT
Ranch Hand

Joined: Jul 13, 2001
Posts: 269
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?
Cindy Glass
"The Hood"

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 etc.

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: Copyright on package names?
It's not a secret anymore!