Changeset 2 for src/main/webapp/index.jsp
- Timestamp:
- 08/28/19 11:35:53 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/webapp/index.jsp
r1 r2 15 15 these may contain files with errors, and thus are not available for 16 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> 36 and 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 <dependency> 42 <groupId>javax.websocket</groupId> 43 <artifactId>javax.websocket-api</artifactId> 44 <version>1.1</version> 45 </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> 56 and 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 <dependency> 62 <groupId>com.neovisionaries</groupId> 63 <artifactId>nv-websocket-client</artifactId> 64 <version>2.6</version> 65 </dependency> 66 67 68 </code> 69 </pre> 17 <p> 18 For creating a profile or adding it to the server please check the <a 19 href="https://tracinsy.ewi.tudelft.nl/pubtrac/GeniusWebProfilesServer">wiki</a>. 20 70 21 </body> 71 22 </html>
Note:
See TracChangeset
for help on using the changeset viewer.