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?
source share