How to access document attachments with Java SDK?

Yes, that would work too, but I’m just scared of the added complexity that would bring to the mix. Traun’s cluster is already complex as is, especially for a non-ops guy like myself, so the less pieces I add to it, the better. If we manage to make Couchbase Server itself accessible to the outside world so that I can query views through the SDK from my web server, it will be the easiest and most maintainable situation until I can do everything from the Sync Gateway API.