Binary01 Active Member Licensed User Longtime User Dec 27, 2021 #1 I run my jRDC2 server with mysql db on VPS server. I connect with android app on mobile and app.jar build with b4j is used to connect from computer. All apps are well done. Now I want to connect jRDC2 server from web browser without .jar file or app file. Can I get example or tutorial? Thank.
I run my jRDC2 server with mysql db on VPS server. I connect with android app on mobile and app.jar build with b4j is used to connect from computer. All apps are well done. Now I want to connect jRDC2 server from web browser without .jar file or app file. Can I get example or tutorial? Thank.
EnriqueGonzalez Expert Licensed User Longtime User Dec 28, 2021 #2 Binary01 said: Now I want to connect jRDC2 server from web browser without .jar file or app file. Click to expand... The short version is you can't. JRDC2 uses a B4x technology that doesn't have a counter part in JavaScript The long story is that it is actually possible if you modify the JRDC2 to take JSON and send JSON, then you can process it with JavaScript. Upvote 1
Binary01 said: Now I want to connect jRDC2 server from web browser without .jar file or app file. Click to expand... The short version is you can't. JRDC2 uses a B4x technology that doesn't have a counter part in JavaScript The long story is that it is actually possible if you modify the JRDC2 to take JSON and send JSON, then you can process it with JavaScript.
aeric Expert Licensed User Longtime User Dec 28, 2021 #4 Search for “B4J Web API” and you may found some examples from me. Upvote 1
Binary01 Active Member Licensed User Longtime User Dec 28, 2021 #5 aeric said: Search for “B4J Web API” and you may found some examples from me. Click to expand... Thanks. Upvote 0
aeric said: Search for “B4J Web API” and you may found some examples from me. Click to expand... Thanks.
Erel B4X founder Staff member Licensed User Longtime User Dec 28, 2021 #6 EnriqueGonzalez said: The short version is you can't. JRDC2 uses a B4x technology that doesn't have a counter part in JavaScript Click to expand... That's wrong. jRDC2 is a simple B4J server solution. You can extend it and add a WebSocket handler or a regular http handler. Upvote 0
EnriqueGonzalez said: The short version is you can't. JRDC2 uses a B4x technology that doesn't have a counter part in JavaScript Click to expand... That's wrong. jRDC2 is a simple B4J server solution. You can extend it and add a WebSocket handler or a regular http handler.
Binary01 Active Member Licensed User Longtime User Dec 28, 2021 #7 Erel said: That's wrong. jRDC2 is a simple B4J server solution. You can extend it and add a WebSocket handler or a regular http handler. Click to expand... Thanks Upvote 0
Erel said: That's wrong. jRDC2 is a simple B4J server solution. You can extend it and add a WebSocket handler or a regular http handler. Click to expand... Thanks
EnriqueGonzalez Expert Licensed User Longtime User Dec 28, 2021 #8 Erel said: That's wrong. Click to expand... It is not. JRDC2 core technology is Types and B4xSerializator. EnriqueGonzalez said: The long story is that it is actually possible if you modify Click to expand... I clearly mentioned that as is, you can't use it. You need to modify it. Upvote 0
Erel said: That's wrong. Click to expand... It is not. JRDC2 core technology is Types and B4xSerializator. EnriqueGonzalez said: The long story is that it is actually possible if you modify Click to expand... I clearly mentioned that as is, you can't use it. You need to modify it.