| Today's "web services" have nothing to do with the Web. They have lost the Web's simplicity and reinvent or ignore every feature that makes the Web successful. We know the technologies behind the Web can drive useful remote services. We know such services can scale to enormous size. It's time to put the "web" back into "web services."The terms "representational state transfer" and "REST" were introduced in 2000 in the doctoral dissertation of Roy Fielding.It make a "big picture "of developing networks software based on the Internet.In REST style,the whole networks is abstracted as resources, each of which is referenced with URI.Clients get the representations of these resources via a standardized connector interface and exchange representations of these resources. REST defines how to use Web standards correctly,for example, the HTTP application protocol,the URI naming standard, and the XML markup language. REST make the development very simple,standard and scalable.This dissertation implement the REST style in Open Course of Computer Networks System in order to make the system simpler, standard and more scalable.Firstly,this dissertation explain what is REST architecture and it's characteristics and influence on main existing frameworks.And then the traditional J2EE architecture of the Open Course of Computer Networks System is designed as REST style.The design include that the system is split into resources, the resources are named with URIs and a RESTful interface is designed in order to make the system REST style.Finally,implement REST style in main existing Ajax frameworks.At present,many popular Ajax frameworks begin to support REST style,and more Ajax frameworks will support REST style.It is fully proved that REST style is increasingly popular. REST must be the main technology of the Web Service. |