I've been searching the forum on how to create web services using B4J. I haven't found anything about this, exactly.
From what I understand, the B4J app needs to be a non-UI project, but that's about all I know for this.
Is this even possible with B4J?
Project requirements:
The project should support multiple methods/subs to be called from a mobile app built in B4A or B4i.
The app would receive a URL with params as a request and respond with JSON data.
Other app subs would receive JSON data and the sub would have to parse it and send it to SQL Server to do CRUD procedures. The sub would return a response whether the sub was successful or not.
The app would do CRUD calls to SQL Server for fetching or writing request data.
Deployment:
I would assume the project is built into a JAR file.
What is done with the JAR file to deploy it to a server?
Where is the JAR file to be copied to, onto the web server?
How is the B4J JAR deployed to the web server?
What must the server have installed on it to support the calls from the mobile apps.
That's pretty much the basics of the requirements for the app. I'm sure there's more to it than that.
Could someone point me in the right direction for this?
Thanx,
Mark Stuart
From what I understand, the B4J app needs to be a non-UI project, but that's about all I know for this.
Is this even possible with B4J?
Project requirements:
The project should support multiple methods/subs to be called from a mobile app built in B4A or B4i.
The app would receive a URL with params as a request and respond with JSON data.
Other app subs would receive JSON data and the sub would have to parse it and send it to SQL Server to do CRUD procedures. The sub would return a response whether the sub was successful or not.
The app would do CRUD calls to SQL Server for fetching or writing request data.
Deployment:
I would assume the project is built into a JAR file.
What is done with the JAR file to deploy it to a server?
Where is the JAR file to be copied to, onto the web server?
How is the B4J JAR deployed to the web server?
What must the server have installed on it to support the calls from the mobile apps.
That's pretty much the basics of the requirements for the app. I'm sure there's more to it than that.
Could someone point me in the right direction for this?
Thanx,
Mark Stuart