1. W

    B4J Library AutoKeyGenerator: create Jetty compatible certificates using LEt's Encrypt and CloudFlare

    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...
  2. ShaneG30

    B4J Question Apache2 Reverse Proxy

    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: <VirtualHost *:80> ServerName abm.leftwinggamers.com Redirect /...
  3. T

    B4J Question jServer - detect websocket disconnect

    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...
  4. Alexander Stolte

    B4J Question how to use bearer authentication on my own jServer

    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? Greetings
  5. LucaMs

    B4J Question Websocket, session and websocket handler class instance.

    Reading (and badly answering) this thread: https://www.b4x.com/android/forum/threads/question-about-jserver-websocket-handle.95966/ 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...
  6. Pedro Caldeira

    B4J Question Web Server Handler

    Hello All, 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 00000500 The service catches the...
  7. alimanam3386

    Android Question what is the best protocol for an app with 1m users

    Hi guys, 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 ) What do...