api - How do I expose the service written in Java for all platforms? -


i have "autocomplete" server written in java. http(s) server accepts protobuf . have written thick desktop client uses service populate textbox autosuggestions. intend make service generic, can used other platforms. how go ? if release proto definitions tie 3-4 languages only. if release client jar , restrict java. suggestion api/system designers appreciated.

you can expose webservice.

from wikipedia page:

a web service method of communication between 2 electronic devices on network. software function provided @ network address on web service on in concept of utility computing. w3c defines web service software system designed support interoperable machine-to-machine interaction on network.

there 2 types of webservices:

1- soap webservices.

2- rest webservices.

all programming languages provide methods creating , consuming websevices.

this stackoverflow thread provides explanation of webservices.


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -