forked from chregu/davexclient
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
37 lines (25 loc) · 1.11 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
A Java Davex client for sniffing the protocol
*********************************************
The HTTP protocol Jackrabbit is using in spi2davex (for communicating
between client and server) was documented, but is quite outdated in
the meantime. The docs can be found here:
https://fosswiki.liip.ch/display/jackalope/Downloads
Therefore the best way to see, what jackrabbit is actually doing is
using a client (in java) which uses the davex layer and sniff that
(with eg. wireshark or Charles Proxy)
Now you can write your JCR operations you want to implement in
src/Client.java and then see what happens
USAGE
*****
* adjust Client.java (for the connection parameters and your operations) in src/
* Point to your jackrabbit-standalone-*.jar in buildandrun.sh
* then run buildandrun.sh
* and watch the traffic
davold BRANCH
*************
If you want to see, what it does without using the Batch/Diff stuff, use the "davold"
branch. Currently Jackalope doesn't do the diff stuff, so that may be more useful.
EXAMPLES
********
in the examples/ directory there are some examples, copy them to src/Client.java
and recompile