[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: WebHandler vs REST project - basic questions

  • Thread starter Thread starter Sanjeev Reddy
  • Start date Start date
Status
Not open for further replies.
S

Sanjeev Reddy

Guest
Seems inline replies are not reached the forum. So, resending: >>Can someone explain me what are the benefits of creating webhandler service over rest ones? Seems to be more flexible as written in ABL. How about other aspects e.g. performance etc. Both types deal with HTTP verbs. [Sanjeev]: Since WebHandlers are written in pure ABL, you can have more flexible while writing and customizing and also no need to of any mapper (like in REST service) >>In the project create wizard there is a description: "Creates an OpenEdge project with a WebHandler service that is used to create RESTful API powered by WebHandler class." - does it mean webhandler service is also of REST type? I am a bit confused. [Sanjeev]: Since Web Handlers support all HTTP verbs, you can assume as WebHandlers are also REST type. Here is some analogy/mapping between REST and WebHandler Services: Transport(REST) : Transport(WEB) REST Service : WebHandler Data Object REST Service : Data Object WebHandler Note: Transport is OpenEdge specific internal thing. Ideally both REST and WebHandler based services are RESTful services only. Thanks, Sanjeev

Continue reading...
 
Status
Not open for further replies.
Back
Top