Greg followed my instructions below, and also figured out how to get the JNLP file working; we've now revised those instructions to include more steps. The result works fine for Mariage, with the single exception of the missing <exist:match> tags, which are needed for the search to work properly. I'm still working on that, but at the very least I can work around it using other methods which are a bit slower, but which could be compensated for by adding lots of handy indexes. We're getting somewhere at last!