B4J Tutorial [server] Automatic Reconnecting WebSocket - Erel    Jan 6, 2016   (12 reactions)   tags: B4J Server Websocket When working with WebSocket handlers the client maintains an online connection. The connection... can be temporary broken. Especially when the client is a mobile browser.
Using the Reconnecting-WebSocket... B4A Tutorial Custom class templates - Erel    Feb 3, 2020   (2 reactions) = "server_filter"), @CustomClass(name = "Server WebSocket", fileNameWithoutExtension = "server_websocket") }) @Version(2.90f) @ShortName("Server"...:server_filter</customClass> <customClass>name:Server WebSocket, filenamewithoutextension:server_websocket</customClass> </root> See this link if you want to create a custom... B4J jServer library now includes the three server handlers: https://www.b4x.com/basic4android/images/SS... B4J Tutorial [WebApp] Web Apps Overview - Erel    May 30, 2021   (21 reactions)   tags: Erel Stuff, b4j applications based on WebSocket technology. With WebSocket The browser and the server maintain... is implemented in the server.
The new framework is implemented in jServer library. It adds a new type of "handler" named WebSocket.
The browser UI is implemented in html / css.
B4J Web App... you need to know?
Server library tutorial: Building web servers with B4J
This tutorial was written... B4J Tutorial [IoT] MQTT Protocol - Erel    Sep 26, 2023   (24 reactions)   tags: MQTT, Messages .hivemq.com/mqtt-essentials/
Some of the differences between MQTT solutions and B4J server (http and websocket) solutions:
With MQTT we only need to develop the clients. The server (message broker...What is MQTT?
"MQTT is a Client Server publish/subscribe messaging transport protocol... (subscribe). Note that we can implement a similar solution with WebSockets.
It is a many to many connection... B4A Tutorial Custom WebSocket Based Push Framework - Erel    Jul 28, 2014   (17 reactions)   tags: Push Framework, Erel WebSockets it is possible to implement a full push framework solution.
The solution is made of two components. The client app (B4A) and the server WebApp (B4J).
The client opens and maintains a WebSocket... B4J Tutorial [Server] Building web servers with B4J - Erel    Sep 1, 2021   (31 reactions)   tags: server, Erel /
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... B4i Tutorial FirebaseNotifications / Push Messages (server not required) - Erel    Jun 26, 2023   (6 reactions)   tags: Erel folder. Now you should click on Tools - Build Server - Create Push Key - Firebase Service:
https://www... B4J Tutorial [WebApp] Chatroom - Threads, Sessions and Server events - Erel    Oct 19, 2017   (8 reactions) .
Server events
One of the great features of WebSockets is the simple support for server events....
The WebSocket is broken when the browser navigates to a different page (or refreshes the current page..., Null)
End If
Threads
Each WebSocket class instance runs in a different thread (in release mode... B4J Tutorial [server] Run a Server on a VPS - Erel    Nov 11, 2020   (19 reactions)   tags: B4J Run Server on VPS, Erel The steps required to run a B4J server on a hosted server (such as a VPS) are:
1. Download Java... with any additional files (www folder for example).
3. Start the server with:
nohup path_to_java/bin... B4J Tutorial [Server] SSL Connections - Erel    Jun 28, 2021   (15 reactions)   tags: B4J, ports SSL Starting from B4J v2.00 the server can listen to two ports, the standard insecure port (http) and...-and-certificates-JDK-keytool
The server configuration is done with SslConfiguration object. This code... Page: 1   2   3   4   5   6   7   |