2. About me
• Freelance Full stack Java developer, with XPages experience
• Curious of new technology
• Owner of elstar IT
• Former IBM Champion (2013, 2014)
3. Roadmap
• Why Cloudant
• Introduction to Cloudant
• Inside Cloudant
• Connect to Cloudant
• Cloudant @ XPages
7. What is Cloudant
• It is the cloud version of CouchDb
• CouchDb is created by Damien Katz
• Cloudant is bought by IBM
• It is document based
• Is like MongoDb or NSF a NoSQL datastore
8. What is Cloudant
• Data stored as JSON
• View and Search ‘formula’ with javascript
• Replication
• Tasks
• Build in API
• No annoying limitations
15. Connect to Cloudant
• Direct via REST
• https://someusername:secret@account.cloudant.com
• Via a OSGi Plugin, uses the HTTPConnection
• https://bitbucket.org/flinden68/cloudant-connector
17. Connect to Cloudant
• It is JSON everywhere
• _rev and _id, reserved parameters
• doc{}, is the actual data from application
18. Cloudant connector
• Storing in and retrieving from Cloudant
• Can be accessed from Java backend.
• Will take out the security issues.
• Do the heavy lifting. Don't reinvent the wheel.
• https://bitbucket.org/flinden68/cloudant-connector
28. Attachment @ Cloudant
• Stored as base64 encoded String
• Can be as standalone
• Or as part of Document (we choose this way)
• Store id as attachmentId, so it can be retrieved when needed