B4J Tutorial Web API Server (v3) - aeric    Jan 02, 2025   (18 reactions) Perform Tests
GET
Let's try to perform our first GET request with an id parameter.
Click on the second end point labeled GET /api/categories/:id
Edit the Path by replacing the :id parameter with 2 and click on the green Submit button.
158088
The form will send an AJAX request to the API server and B4J Tutorial [IoT] MQTT Protocol - Erel    Sep 26, 2023   (24 reactions) What is MQTT?
"MQTT is a Client Server publish/subscribe messaging transport protocol. It is light weight, open, simple, and designed so as to be easy to implement. These characteristics make it ideal for use in many situations, including constrained environments such as for communication in Machin B4J Tutorial [Server] Building web servers with B4J - Erel    Sep 01, 2021   (31 reactions) Edit: Web Apps tutorial: http://www.b4x.-web-apps-overview.39811/
The server implementation is based on a popular and powerful Java server library named Jetty (license)
The database connection pooling implementation is based on c3p0 (license).
B4J Server features:
High performance web server
Aut B4J Tutorial [server] Run a Server on a VPS - Erel    Nov 11, 2020   (19 reactions) If there is another http server running on the computer, like Apache or IIS, then you should not copy the B4J server to its public_html / www / or any other publicly accessible folder. B4J Tutorial [server] jOkHttpUtils2 - server version - Erel    Jan 09, 2022   (9 reactions) OkHttpUtils2 methods are designed to be called on the main thread. This is the case in all platforms and configurations, except of B4J server solutions.
Starting from jOkHttpUtils2 v2.95 it is possible to make it thread safe. This is done by following these steps:
1. Add the SERVER conditional sym B4J Tutorial [B4X] Proxy Server Socks 4 and Proxy Http (Source Code) - Star-Dust    Jun 16, 2021   (13 reactions) Many years ago I needed to sniff a connection and I didn't have a free sniffer available and I didn't know how to create one .... So after a long reflection I decided to create a Proxy Server in order to direct all the output of my pc to the server and sniff traffic.
It was my first proxy server mad B4J Tutorial [BANano] TIP: Running a test server - alwaysbusy    Dec 19, 2022   (12 reactions) UPDATE: since december 2022, chrome plugins like this have stopped working. Luckcely, the author of this plugin has created a standalone alternative you can install on your computer: Simple Web Server: https://simplewebserver.org/ ------------------------------------------------------------------- B4J Tutorial [Server] Data Collection Solution - Device, Desktop and Web reports - Erel    Mar 05, 2018   (10 reactions) This is an example of building a data collection solution. The solution is made of three components:
- (B4J) Server - Manages the data in a SQLite database.
- (B4A) Device client and (B4J) desktop client - Send new data to the server and show reports.
Note that you can also see the reports from any B4J Tutorial [server] Run a Server on Azure as an App Service - xulihang    Mar 06, 2019   (17 reactions) The b4j code:
Sub AppStart (Args() As String)
Dim port As Int
port=Args(0)
srvr.Initialize("srvr")
srvr.AddHandler("/hello","hello",False)
srvr.Port=port
srvr.Start
StartMessageLoop
End Sub
4. Then use git push to make deployment.
Here is an example: https://b4jserver. B4J Tutorial [server] Using UI app to create a QR code as part of a server solution - Erel    Nov 09, 2020   (18 reactions) In that case you need to think of security and also cleaning.
Both servers run with Java 11+ (Linux OpenJDK is available here: https://www.b4x.-the-simplest-way-to-distribute-ui-apps.99835/#content).
Starting a Java 11+ UI app is a bit more complicated. See the server code. The required release_java Page: 1   2   3   4   5   6   7   Powered by ColBERT |