1. Mashiane

    B4J Library [SithasoMongoDB] A jMongo class helper for everything MongoDB CRUD

    Hi there This helper class is to help anyone explore the jMongo library for CRUD for the less adventurous. Demo attached. SithasoMongoDB Initialize (sHost As String, iPort As Int, dbName As String, tblName As String) As SithasoMongoDB ' 'initialize the class Dim dbMongo As SithasoMongoDB...
  2. A

    B4J Question Question about WebApps and Jetty.

    Hi. Last month I was doing some tests with B4J and webapps. I found it powerful and easy to use. But I do have some questions. B4J webapps do have a jetty server embedded. 1) If we want to run more than one webapps on the same machine, we have to set each instance to use a different port. I...
  3. D

    B4J Question Error on request inside a server Handler (java.lang.InterruptedException)

    Hello! I'm gettin this error but i have no clue of what's happening because it works good for days before happen. I suspect that is caused by a request that I make inside a handler but I'm not sure. java.lang.RuntimeException: java.lang.InterruptedException at...
  4. aeric

    B4J Tutorial [Server] Using Let's Encrypt on Ubuntu VPS

    #1 How to: Install Let's Encrypt on Ubuntu Linux VPS to Create SSL Certificates Downloading and Installing Let's Encrypt 1. Update the server's packages apt-get update & sudo apt-get upgrade 2. Install the GIT package apt-get install git 3. Download a clone of Let's Encrypt from the GitHub...
  5. LucaMs

    B4J Question [solved] org.eclipse.jetty.websocket.api.MessageTooLargeException

    I get this error on server side (b4j). I searched the forum but I found solutions only for client websockets. BTW I don't know how the websocket is created on server side, it is "received from somewhere" in the websocket handler class; although it seems strange to me, is it possible that the...
  6. avalle

    B4J Question Configuring TLS/SSL ciphers for Jetty web server

    I'm running a web server written in B4J using the Jetty service. I have configured it for HTTPS access, so I've run test to check the quality of the TLS protocol. The TLS certificate looks good, but the server rates as "B" quality due to a couple of things: This server...