|Thomas Linder Puls
Joined: 28 Feb 2000
|Posted: 31 Jan 2017 11:45 Post subject:
| You cannot call a java api. But you can call a web service (that may or may not be implemented in java), which it appears that MongoDB is.
Sockets is the low-level connection between a web client and a web server, but I would not recommend that you use the sockets directly. Because then you will yourself have to deal with a number of low level stuff like the http-protocol.
An alternative may be to use the curl library, but I do not have any experience with that myself.
Regards Thomas Linder Puls
Prolog Development Center