B4J Question Web Service in B4J

Teknomatica

Member
Licensed User
Longtime User
Dear all,
is possible to write in B4J a standard Web Service callable from PHP?
Tks and regards
 

Teknomatica

Member
Licensed User
Longtime User
Yes. See here for further details.
Are you sure that we are doing the same thing? A web server is not same of a Web Service...
Webservices.png
 
Upvote 0

keirS

Well-Known Member
Licensed User
Longtime User
Are you sure that we are doing the same thing? A web server is not same of a Web Service...
Webservices.png


A standard web service to me means a RESTful one. That's what Google, Microsoft, Dropbox, Twitter, Facebook etc use to expose their services to the web. You can create RESTful web services in B4J. It has good JSON support and it's very easy to create end points that return JSON.

You can call a RESTful web service using cURL in PHP or save a lot of time and use one of the REST client libraries that have been developed.
 
Upvote 0

Teknomatica

Member
Licensed User
Longtime User
A standard web service to me means a RESTful one. That's what Google, Microsoft, Dropbox, Twitter, Facebook etc use to expose their services to the web. You can create RESTful web services in B4J. It has good JSON support and it's very easy to create end points that return JSON.

You can call a RESTful web service using cURL in PHP or save a lot of time and use one of the REST client libraries that have been developed.
Very interesting keirS, tks
 
Upvote 0

Teknomatica

Member
Licensed User
Longtime User
A standard web service to me means a RESTful one. That's what Google, Microsoft, Dropbox, Twitter, Facebook etc use to expose their services to the web. You can create RESTful web services in B4J. It has good JSON support and it's very easy to create end points that return JSON.

You can call a RESTful web service using cURL in PHP or save a lot of time and use one of the REST client libraries that have been developed.


Hi keirS, do you have a simple project based on B4J that implements REST API? A customer of mine called me to write some server APIs in REST with a JSON output...
Thanks
 
Upvote 0
Top