Hi Paul,
please make sure to reply to the list, so all of our users can benefit :)
I think I got your question correctly. It doesn't matter whether you use your personal computer or a server. Assuming you run linux, you can simply run the bin/basexserver script and the BaseX server starts up. There is no need to install it.
The different language bindings we provide (see https://docs.basex.org/wiki/Clients) use our Client/Server protocol (see https://docs.basex.org/wiki/Server_Protocol), implementing the Client in the specific language. So in all these cases, you need a running BaseX server (which you can run as said above, some more documentation is available at https://docs.basex.org/wiki/Database_Server).
On your web server, you need the permission to simply run a program. Based on what you write (correct me if I am wrong) I get the feeling you are running on one of the many cheap web domain hosts, where you basically connect with FTP to upload files and use PHP/MySQL to run your webpage. Am I correct? You will need a bit more to run BaseX, because you need the right to execute a program by yourself (i.e. ssh access). PHP files are only interpreted, because your provider is running a web server with PHP integration already for you. As they most likely will not already run BaseX for you (what a shame!), you will have to run it yourself - Which means you have to be able to execute programs.
Please note, this is not a problem applying to BaseX, it would be the same for every other program you would like to run.
Cheers, Dirk
On 02/07/14 14:40, Paul Swennenhuis wrote:
Hi Dirk,
Thanks for your (fast) reply. I am not sure if you understood me though. Or maybe I phrased the question incorrectly. What I want is to install BaseX on a web server, not on my own computer. I want this to be able to access BaseX from anywhere. There must be some way to achieve this, since I see all kinds of web-implementations for BaseX like PHP, Ruby, etc.
Surely you can not FTP the BaseX files to a webserver and then just run it?
Paul
Hi Paul,
a while ago I played around with JET (http://www.excelsiorjet.com/), which can compile Java applications into standalone programms. Due to licencing issues we can not distribute this, but if you obtain a licence you could compile it for yourself and use BaseX without any JVM. The results were quite satisfying, it did work really well.
However, it is certainly simpler to run BaseX using a JVM. You do not have to install BaseX, you can simply run it. So if you have a JVM on the machine, it normally shouldn't be a permission issue to run BaseX.
Cheers, Dirk
On 02/07/14 14:01, Paul Swennenhuis wrote:
Hi there,
Based on the locally installed versionit seems that BaseX is a great tool and I would like to use it as a webservice. However, the servers I have access to do not support Java - or if they do, I do not have the rights to install BaseX. Do I need to find a hosting party that supports Java apps? Or maybe there are public BaseX servers that can be accessed? How to proceed?
Regards,
Paul
Hi Dirk