Reputation: 1209
I have on one side an API which is written in Java and on the other side an Client which is written in javascript. Is there a way to use this API maybe together with the other Java-SE jars in Javascript, perhaps in Webstorm?
Thanks for all helps.
Upvotes: 0
Views: 88
Reputation: 800
Your server side (Java) need to pushlish RESTful API. So client side (Javascript) can use these API.
You can check out these links to more information about RESTful: wiki, restapitutorial
Upvotes: 2
Reputation: 116
Are you talking about which kind of Client? It will be a regular browser client? If so, there is no way to do it unless to make server calls using post, rest, whatever you want. If your client is written in node.js or jrunscript you have some tricks to do it, see these links: node-java module and jrunscript.
Regards
Upvotes: 0