source: src/main/webapp/index.jsp@ 1

Last change on this file since 1 was 1, checked in by bart, 5 years ago

Initial Release

File size: 2.0 KB
Line 
1<html>
2<body>
3 <h1>GeniusWeb Domains and Profiles Server.</h1>
4 This server serves the domains and profiles.
5
6
7
8 <h2>
9 Currently available
10 </h1>
11
12 The list of currently available profiles is <a
13 href="websocket/list.xhtml">here</a>.<br> The list of domain and
14 profile files is browsable <a href="domainsrepo">here</a>. Notice that
15 these may contain files with errors, and thus are not available for
16 use.
17
18 <h2>
19 Adding domains and profiles
20 </h1>
21 You can add and remove domains and profiles by dragging your .json
22 files into and out of the repo directory.
23
24 <h2>
25 Access
26 </h1>
27 Your agent has JSON based access to the repo through websockets. Two
28 examples are provided, one based on javax.websocket and one on
29 neovisionaries websocket
30
31
32 <h3>Example with javax websocket</h3>
33 The example code is available
34 <a
35 href="https://tracinsy.ewi.tudelft.nl/trac/Genius2ProfilesServer/browser/src/test/java/geniusweb/examples/DownloadProfileExample.java">here</a>
36and also is part of the JavaClientTest junit test in this project (run with <code>mvn test</code>)
37 To compile that example you need the javax websocket
38 dependency in your pom:
39 <code>
40 <pre>
41&lt;dependency>
42 &lt;groupId>javax.websocket&lt;/groupId>
43 &lt;artifactId>javax.websocket-api&lt;/artifactId>
44 &lt;version>1.1&lt;/version>
45&lt;/dependency>
46
47
48 </code>
49 </pre>
50
51
52 <h3>Example with neovisionaries websocket</h3>
53 The example code is available
54 <a
55 href="https://tracinsy.ewi.tudelft.nl/trac/Genius2ProfilesServer/browser/src/test/java/geniusweb/examples/DownloadProfileExample.java">here</a>
56and also is part of the JavaClientTest junit test in this project (run with <code>mvn test</code>)
57 To compile that example you need the neovisionaries websocket
58 dependency in your pom:
59 <code>
60 <pre>
61&lt;dependency>
62 &lt;groupId>com.neovisionaries&lt;/groupId>
63 &lt;artifactId>nv-websocket-client&lt;/artifactId>
64 &lt;version>2.6&lt;/version>
65&lt;/dependency>
66
67
68 </code>
69 </pre>
70</body>
71</html>
Note: See TracBrowser for help on using the repository browser.