Does javascript STOMP client work in browser / frontend js?

I want to create a Java application that uses stomp for activemq and a nodejs application that serves multiple web pages that will talk to each other. With events that come out of client web pages.

I know socketio comes separately with server-side javascript and client-side API.

I see there is node -stomp-client: https://github.com/easternbloc/node-stomp-client

Although it looks like it is used on the server side of the node instead of javascript on the client side. Is this library usable on both server side and client side javascript? Or do STOMP websites have a javascript client library that I can use in the frontend to connect / emit events (say if a user clicks a button in html that turns it off)?

Or should I use the stomp library instead and just use the regular websocket library?

+5
source share
1 answer

In fact, there is a Javascript STOMP client for browsers , which is mentioned in the Application List , which is associated with the stomp wiki tag .

+1
source

Source: https://habr.com/ru/post/1259215/


All Articles