wood burning stoves 2.0*
The moose likes Sockets and Internet Protocols and the fly likes URN,URI and URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "URN,URI and URL" Watch "URN,URI and URL" New topic
Author

URN,URI and URL

william kane
Ranch Hand

Joined: Nov 21, 2000
Posts: 260
What is the difference between URN,URI and URL?


Help me!Help you!!!
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Well here is how w3.org explains it:
URI
Uniform Resource Identifier. The generic set of all names/addresses that are short strings that refer to resources.
URL
Uniform Resource Locator. An informal term (no longer used in technical specifications) associated with popular URI schemes: http, ftp, mailto, etc.
URN
Uniform Resource Name.
An URI that has an institutional commitment to persistence, availability, etc. Note that this sort of URI may also be a URL. See, for example, PURLs.
A particular scheme, urn:, specified by RFC2141 and related documents, intended to serve as persistent, location-independent, resource identifiers.
Here's the link
[ April 28, 2003: Message edited by: Michael Morris ]

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: URN,URI and URL