[Info-vax] REST (was: Re: DECserver/LAT across DECnet areas?)

Arne Vajhøj arne at vajhoej.dk
Mon Jul 24 19:14:13 EDT 2023


On 7/24/2023 4:40 PM, Stephen Hoffman wrote:
> REST connections are common for apps. OpenVMS lacks integrated libraries 
> and frameworks for using that approach, though.
> 
> REST is good for shoveling around requests and responses, and not so 
> good at transactions and shoveling whole databases around.
> 
> REST is particularly good at connecting mobile apps to outside networks, 
> as HTTPS connections are only rarely blocked.

I am sure Hoff knows but just so that everyone gets it:
* REST style web services and RPC style web services are two
   different styles of API - REST style is based on CRUD of
   data - RPC style is mimicking method calls
* RESTful (REST style) web services are typical either
   JSON/HTTP(S) or XML/HTTP(S)
* today JSON/HTTP(S) is way more common than XML/HTTP(S)
   (more compact format)
* among those not familiar with the history of web services
   REST is sometimes used as synonym for JSON/HTTP(S) also
   if the service really is more RPC style

> ActiveMQ, ActiveMQ Artemis, RabbitMQ, and ilk work better for transactions.

Yes.

The support both normal transactions and XA transactions.

Today message queues are part of most transaction processing
solutions.

Arne





More information about the Info-vax mailing list