B4J Tutorial [Server] Building web servers with B4J - Erel    Sep 1, 2021   (29 reactions)   tags: server, Erel .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 Automatic handling of static files Simple to develop custom... powerful database connections pooling Server can run on Windows, Mac and Linux (including board... servers then it is recommended to start with a HTTP tutorial such as this one: http://net.tutsplus... B4A Library [B4X] FTP Server implemented with Socket and AsyncStreams - Erel    Jul 18, 2022   (40 reactions)   tags: B4A B4J, FTP . It only demonstrates how you can use a standard FTP client to communicate with the server.... It is an implementation of a standard FTP server. You can use standard FTP client programs to send or receive files... classes: FTPServer - There is a single instance of this class. It manages the server socket that listens... important as each app is sandboxed anyway. Using the server is simple: server.Initialize(Main, "FTPServer") server.SetPorts(51041, 51042, 51142) server.AddUser("Test", "test... B4J Tutorial [server] Run a Server on a VPS - Erel    Nov 11, 2020   (18 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.... You need to use nohup as otherwise the server will be killed when you log out. 4. Make sure that the relevant port is open in the firewall settings. 5. If you want to kill the server you can use... nohup.out To monitor the server logs. If you see an error related to the temporary folder then... Share My Creation [B4X] User Login App + [B4J] MySQL API Server (Key + Token) - aeric    Aug 14, 2022   (35 reactions) Update: I recommend you to also take a look at my latest Web API Template if you want to develop B4X client apps connecting to MySQL/SQLite backend web server using JSON format API. Finally I would like to share my B4J API server written in B4J. Compare to my previous PHP API, this API server... necessary database and tables in MySQL server. jAPI.zip - Source code for server app (B4J). B4A.zip... B4XPages template (B4A, B4i and B4J) Live server: https://api.puterise.com:17179 105281 12 Jan 2021... Share My Creation JRDC2 Interface - Remote Server Manager - sfsameer    Mar 13, 2023   (16 reactions) . and each time we did that we had to open the server, run CMD read the logs file, test the connections... the following : Control the server & the JRDC2 remotely : 1- Stop JRDC2 2- Pause it (no more in/out until it was un-paused) 3- Restart JRDC2 4- Make it run at start up of the server (sometimes we restarted the server so we had to log in using ssh, then open the anydesk then run the service which can take a lot of time) 5- Restart the Server (windows server) 6- Block/unblock an ip that tries to connect... B4i Tutorial FirebaseNotifications / Push Messages (server not required) - Erel    Jan 13, 2021   (5 reactions)   tags: Erel . There should be a file named aps_*.cer in the keys folder. Now you should click on Tools - Build Server... 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 a secure port (https). The default port for http is 80 and for https is 443. These ports are used...-and-certificates-JDK-keytool The server configuration is done with SslConfiguration object. This code should be called before the server is stared. Private Sub ConfigureSSL (SslPort As Int... object and set the path and passwords of the keystore file. Then we call Server.SetSslConfiguration... B4J Library [server] FirebaseServer - backend verification for signed in users - Erel    Feb 14, 2023   (15 reactions)   tags: firebase backend server . FirebaseServer completes the puzzle with server side verification of the user. This means....GetUserTokenId. The client sends the token id to the server. The server verifies the token using....com/docs/server/setup#add_firebase_to_your_app Copy the json file to the Files tab. Simple example: Sub Process_Globals Private fs As FirebaseServer End Sub Sub AppStart (Args() As String) fs...) End If End Sub Library: www.b4x.com/b4j/files/jFirebaseServer.zip... B4J Code Snippet Resumable Subs (wait for / sleep) in server handlers - Erel    Feb 16, 2020   (13 reactions) Resumable subs can only work when there is a message queue. By default, server handlers end when the Handle sub is completed. They do not create a message loop. If you want to wait for an event then you need to call StartMessageLoop and later StopMessageLoop. Example of handler that downloads a page and returns it as the response: Sub Handle(req As ServletRequest, resp As ServletResponse...: Use the correct library. OkHttpUtils2_NonUI for server apps and OkHttpUtils2 for UI apps. Above tip... B4A Tutorial MJPEG / CCTV Server - Erel    May 2, 2018   (38 reactions)   tags: \erel is available here: https://www.b4x.com/android/forum/threads/mjpeg-cctv-server.73821/... Page: 1   2   3   4   5   6   7   |