Hm, I'm not sure what aspect your question is focusing on. Are you asking about user registration and authentication, or about how your Java code can access the documents managed by the Sync Gateway?
If the question is authentication: The answer is to have the client communicate with your Java servlet to register, and then have the servlet call the Gateway's admin REST API to create a user account. If you're asking about accessing documents: the best-supported mechanism for this currently is to use the Gateway's REST API, probably on the admin port so you can bypass authentication. We don't have good documentation of the API yet but it's basically a subset of CouchDB's, which is well-documented. It is also possible to interact directly with the underlying bucket using the Couchbase Server SDK, in limited ways: you can read documents as long as you ignore the "_sync" property and any documents whose keys begin with "_sync:". And you can create new documents as long as you set "importdocs":true in your database configuration. —Jens -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/1E57B590-1AF4-4316-B9C0-B90ECFD976D8%40couchbase.com. For more options, visit https://groups.google.com/groups/opt_out.
