If you want to use SQLSpaces, you probably want to program clients. For this you need the SQLSpaces Server running somewhere and the SQLSpaces Client libraries.
We highly recommend to just download the server bundle and optionally the web investigation module. To enable the web investigation, download the WAR file and put it into the server folder. It is automatically interpreted and will be accessible via browser (default port is 8080).
Download:
sqlspaces-server-3.10.0-bundle.zip
sqlspaces-server-web-3.10.0.war
However, you can also download the jars for the server and its dependencies (as they are defined in the pom.xml) and start the server within a Java process. You should only go this way, if you want to modify the server or embed it into an existing application.
SQLSpaces are developed in several Maven modules. If you program a client for the SQLSpaces, you need two of them. There are two ways of how to get the necessary jars for client development:
You can download the jars on your own. Remember that you need the modules sqlspaces-client and sqlspaces-commons. The other jars that are mentioned later are just printed here for completeness, but if you don't know them, you probably don't need them.
Download:
If you are using Maven (that you should do, because it simply rocks ...), you can simply fetch the jars from our repository.
The URL is: http://mvn.collide.info/content/repositories/releases
Just add a dependency to info.collide:sqlspaces-client to your project and it should work.
Android applications are written in Java, thus you can use the Java client for Android, almost. There is one difference to the JRE: XML parsing. Android uses the XML-Pull parser, which makes the XML parsing process a little bit different. Fortunately we have abstracted the XML parsing and provide a dedicated parser version for the SQLSpaces client that fits the Android requirements. So to use SQLSpaces in your Android application, you need these three jar files in your classpath:
sqlspaces-commons-android-3.10.0.jar
Please note that your application needs need to have the permission to access the Internet. Please add the following uses-permission statement to your manifest file.
<uses-permission android:name="android.permission.INTERNET">
If you want to program clients in other languages (see Interface to other languages), here are the files you need:
And finally you have here all the other components that belong to the SQLSpaces. Normally you don't need these files, but if you want to use the web service interface, the XMPP tunneling, the object-tuple mapper etc. or if you just would like to have the sources, you will find them here.
| Download | |
|---|---|
| Server Bundle | sqlspaces-server-3.10.0-bundle.zip |
| Web Investigation Module | sqlspaces-server-web-3.10.0.war |
| Web Service Module | sqlspaces-server-ws-3.10.0.war |
| Shell Module | sqlspaces-shell-3.10.0-bundle.zip |
| Download | |
|---|---|
| Eightpuzzle | eightpuzzle |