jserver

  1. AKJammer

    B4J Question B4J Connection Pool Examples?

    Hey All, 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...
  2. AKJammer

    B4J Question Can't connect to Jserver running on Linux

    Hey All, 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...
  3. 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...
  4. 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 /...
  5. 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...
  6. 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
  7. 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...
  8. 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 127.0.0.1:8888/payment 00000500 The service catches the...
  9. 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...
Top