B4J Question How do I associate an DSN ip address with a B4J server?

davepamn

Active Member
Licensed User
Longtime User
Can you provide a step by step instruction on installing the b4j app so it will run on IIS?

What code gets deployed to the IIS server?

Will the IIS server need a package to be installed to run the java?

I am not interested in apache, because we don't use it.
 
Last edited:
Upvote 0

lemonisdead

Well-Known Member
Licensed User
Longtime User
step by step instruction on installing the b4j app so it will run on IIS?
Hello,
You don't get it correctly : B4J has it own server. What Erel wanted to mention about Apache is the fact that the Apache server could route the trafic coming on its port to the one on the B4J's server.
B4J has a built in server so it executes its code inside its environement.

You can of course install your B4J app on a dedicated or VPS Windows server so it will run with IIS (till you don't use the same ports).
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

davepamn

Active Member
Licensed User
Longtime User
I want to connect to the b4j internet app by port number from html and JavaScript to get information from a device.

Does b4j connect to devices on the web server by win socket? Will that mean each connected device needs a static IP address

B4j -> win socket -> ip connected device

Read the incoming messages from win socket on b4j, display the data on html using query and angular
 
Upvote 0

davepamn

Active Member
Licensed User
Longtime User
There are two parts to the question

1. The html communication with b4j, how to. I saw a code sample how to build the html portion. I can use b4j events to send information to the html client. This was really cool how you made the html coding seemlessly integrated with the b4j code. It seemed like programming angularjs events, with the exception it was b4j

2. Second, the b4j communication with a internet connected device like a thermostat or scale. On b4a I used Bluetooth to connect to the device and serial communication to get information from the device
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…