• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

URI Vs hierarchical file system

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Although URI syntax looks like the syntax used info to navigate a hierarchical file system, this resemblance is misleading. A URI is an opaque identifier, a logically proper name that should denote exactly one resource.



Can someone please help to understand above statement,

URI should denote exactly one resource but hierarchical file system denotes one resource (a particular directory or a file)?
If a resource denoted by URI (suppose a html page) has (contains) multiple URI (links), that feels similar to a directory having multiple file / directories

appreciate your help. thanks...
 
Saloon Keeper
Posts: 15510
363
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please quote your source.

In general, while a URI like 'http://example.com/some/resource.txt' may indicate that a file named 'resource.txt' is located in the folder 'some', this is not true in all cases. 'some' may not be an existing folder, but the web server just maps the resource to the string '/some/resource.txt'.
 
Prabjhot Singh
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for your reply, its helpful.

Not sure, why can't I see edit option to update my previous post ...

Although URI syntax looks like the syntax used info to navigate a hierarchical file system, this resemblance is misleading. A URI is an opaque identifier, a logically proper name that should denote exactly one resource.

- from "Java Web Services - Up & Running".



 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic