davepamn Active Member Licensed User Longtime User Sep 21, 2016 #1 I am looking for an tool that will let me develop NodeJS server side communication with external devices. Will b4J run on a IIS server?
I am looking for an tool that will let me develop NodeJS server side communication with external devices. Will b4J run on a IIS server?
Erel B4X founder Staff member Licensed User Longtime User Sep 21, 2016 #2 When you create a B4J server it creates a full web server. You don't need to host it in any other server. Upvote 0
When you create a B4J server it creates a full web server. You don't need to host it in any other server.
davepamn Active Member Licensed User Longtime User Sep 22, 2016 #3 I am going to try the hello world tutorial https://www.b4x.com/android/forum/threads/webapp-hello-world-web-app.39808/ I am writing an HTML front end written in react that talks to a web services (b4j) through JSON. The B4J will become the http server to communicate with the web client. I can then use the b4j server to asychrononous communicate with devices by ip and use streaming to send and receive data Last edited: Sep 22, 2016 Upvote 0
I am going to try the hello world tutorial https://www.b4x.com/android/forum/threads/webapp-hello-world-web-app.39808/ I am writing an HTML front end written in react that talks to a web services (b4j) through JSON. The B4J will become the http server to communicate with the web client. I can then use the b4j server to asychrononous communicate with devices by ip and use streaming to send and receive data
davepamn Active Member Licensed User Longtime User Sep 22, 2016 #4 The tutorial worked. Impressive. I was able to debug the server side code using the b4j tool. This is a big improvement over nodejs and express. b4j has a smaller footprint and is easier to code for the client click events. Last edited: Sep 22, 2016 Upvote 0
The tutorial worked. Impressive. I was able to debug the server side code using the b4j tool. This is a big improvement over nodejs and express. b4j has a smaller footprint and is easier to code for the client click events.
davepamn Active Member Licensed User Longtime User Sep 22, 2016 #5 Its pretty cool how the b4j variables and events are automatically mapped to the HTML client controls. Last edited: Sep 22, 2016 Upvote 0
Its pretty cool how the b4j variables and events are automatically mapped to the HTML client controls.
davepamn Active Member Licensed User Longtime User Sep 22, 2016 #6 b4J can push data to the client by using a timer. https://www.b4x.com/android/forum/threads/server-automatic-reconnecting-websocket.62054/ Upvote 0
b4J can push data to the client by using a timer. https://www.b4x.com/android/forum/threads/server-automatic-reconnecting-websocket.62054/
davepamn Active Member Licensed User Longtime User Sep 22, 2016 #7 I found this article comparing b4J events with JQuery code you use in the HTML 5 client https://www.b4x.com/android/forum/threads/websockets-vs-jquery-events.60749/#post-383153 Upvote 0
I found this article comparing b4J events with JQuery code you use in the HTML 5 client https://www.b4x.com/android/forum/threads/websockets-vs-jquery-events.60749/#post-383153