I'm reading a w3schools document where they talk about Server-Sent Events technology
It is described as a system that allows you to send web pages from the server to the client
So by reversing the normal data flow, it is no longer the client who has to query the server but it is the latter that...
I've been scouring the forums trying to find some examples of using a Connection Pool for a B4J UI application, but while I've found references to "you should be using it", I haven't found anything that tells how. I've downloaded the library files, but there wasn't an example...
I've been going through the forums trying to solve this one, but can't seem to get it. I created a Jserver as a webhook for SMS return messages from Nexmo (vonage). I tested it on my local PC running Windows with Postman emulating the SMS service. It receives the returned...
Attached the source code and some description on a tool I wrote to generate SSL certificates to be used in B4J http server applications.
It generates and renews certificates (even wildcard ones) on Let's Encrypt and communicates with the CloudFlare API to do DNS challenging.
The code has been...
I'm trying to get the ABMaterial demo app running on my VPS via reverse proxy. Everytime I try to go to the URL, I get an "Internal Server Error" message. It works fine when I access it via IP
My vHost file:
I followed the instructions in https://www.b4x.com/android/forum/threads/jserver-websocket-disconnected-event-doesnt-fire.79410/#post-503361 , but it didnot work. I have some small factors computers with ubuntu, if i turn them off, no closing the application client, the server detect the...
Hey, I'm writing an API for my app and while analyzing other APIs I've noticed that many are doing the authentication with oauth.
My question is how can i do a "bearer authentication" for my own jServer and is this free?
Reading (and badly answering) this thread:
I learned that if a websocket was closed, the related session would not automatically be destroyed.
So now I have many doubts.
In my project (b4j - jServer), when...
I am playing with the jServer lib.
How can I make a handler that receives a parameter and returns a code to the client ?
For a simple example that I want to do:
Service Handler named payment that accepts a money amount
The service catches the...
Imagine an application you want to create for/with 1 million users. What protocol do you use for this volume of connections?
my options for server side are :
WebSocket ( jServer library - b4j )
MQtt ( I run a broker or MqttClient )
Node JS ( my knowledge is weak about it )